Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer YOUR_API_KEY.

Path Parameters

id
string
required

Agent id.

Minimum string length: 1
outcome
enum<string>
required

Outcome prompt key.

Available options:
opt_out,
callback,
human_needed,
asked_for_info

Body

application/json
prompt
string
required
Minimum string length: 1
Example:

"Whether the lead explicitly asked not to be contacted again."

{key}
any

Response

Outcome prompt updated.

success
boolean
required
name
string
required
description
string
required
prompt
string
required
updated
boolean
required
outcomePrompt
object
required