Skip to main content
Use this to set customer journey stage or prompt text on many prompts at once. Prefer a single call with promptIds when applying the same values to all prompts; use prompts[] when each prompt needs different values.

Request body

Provide either prompts[] or promptIds (at least one must be present).
PromptUpdate[]
Per-prompt patches. Each item must include id and at least one of text or customerJourney.
string[]
Apply the same text and/or customerJourney to every listed prompt.
string
Shared prompt text when using promptIds.
string
Shared journey stage when using promptIds.

Request

Uniform journey stage on many prompts:
Per-prompt updates:

Response

integer
Number of prompts updated.
object[]
Updated prompt objects with id, text, topicId, and customerJourney.
string[]
Brands affected by the update.
string | null
Present when all updated prompts belonged to a single brand.