Skip to main content
PUT

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Headers

Idempotency-Key
string

Optional, up to 255 characters. Retry with the same key after a network error and you get the first answer back instead of the change being made twice (kept 10 minutes). Same key with a different body: 422 IdempotencyKeyReused. While the first request still runs: 409 IdempotencyKeyInProgress.

Maximum string length: 255
Example:

"0b6f3c1e-retry-1"

Path Parameters

voiceAgentId
string<uuid>
required

ID of the voice agent.

Example:

"fc6f158b-24c2-45a6-957b-c57c0a8979b5"

Body

application/json

Send config, values, or both.

config
object

All fields are optional for updates. Include only the fields you want to update.

baseRevision
string

Your draft's current revision. Omit to save on top of whatever is there.

Minimum string length: 1
Example:

"e2f7a9c3-6b1d-4e5f-a8c2-7d3b9f0e1a56"

values
object

Test values: NAME: value pairs used only when you test this draft (they fill {{NAME}} variables). Names: capital letters, digits and _, starting with a letter, up to 64 characters; values 1-4,000 characters; at most 50. A name can't be one the system fills in (such as CURRENT_TIME) or one of the agent's own variables.

Example:

Response

Successful response

success
boolean
Example:

true

message
string
Example:

"success"

data
object