Skip to main content

Archive Agent

Archive or restore a voice agent
1 min read
put/api/v1/workflow/{workflow_id}/status
Request example
Response
put/api/v1/workflow/{workflow_id}/status

Send {"status": "archived"} to deactivate an agent, or {"status": "active"} to restore it. Archived agents cannot receive calls but their history and definition are preserved.

Path parameters

workflow_idintegerrequired#

Headers

authorizationstring · null#
X-API-Keystring · null#

Body

application/json
statusstringrequired#

Responses

application/json
Successful Response
idintegerrequired#
namestringrequired#
statusstringrequired#
created_atstringrequired#
workflow_definitionobjectrequired#
current_definition_idinteger · nullrequired#
Show child attributes
template_context_variablesobject · null#
Show child attributes
call_disposition_codesobject · null#
Show child attributes
total_runsinteger · null#
Show child attributes
workflow_configurationsobject · null#
Show child attributes
version_numberinteger · null#
Show child attributes
version_statusstring · null#
Show child attributes
workflow_uuidstring · null#
Show child attributes