Skip to main content
POST
Restore a discarded or expired agent draft

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"

draftId
string<uuid>
required

ID of the draft.

Example:

"9a4c1e6b-2f3d-4b8a-8e7c-5d1f0a2b3c47"

Response

Successful response

success
boolean
Example:

true

message
string
Example:

"success"

data
object

A member's draft with its full config and test values.