PATCH
Update Scenario

Authorizations

X-API-Key
string
header
required

An API key of your account, from Settings > API Keys. It starts with gnz-.

Headers

Idempotency-Key
string | null

Any unique string, such as a UUID. Send the same key again to get the first answer and not a second write. The API keeps an answer for 24 hours.

Path Parameters

scenario_id
integer
required

A scenario of the brand.

brand_id
integer
required

Body

application/json

Only the fields that the request sends change.

status
enum<string> | null
Available options:
active,
pause
text
string | null
Required string length: 1 - 2000

Response

Successful Response

One scenario of a topic, which the answer engines receive.

created_at
string<date-time>
required
id
integer
required
status
string
required
text
string
required
topic_id
integer
required