AI Agent
Turn an agent on or off
Controls whether the agent answers calls. While off, the numbers and call flows assigned to it fall through to their regular routing; the per-number settings are kept, so turning it back on restores them.
The flag is routing-only, so this endpoint does not redeploy the agent.
patch/companies/{company}/agents/{agent}/enabled
Path parameters
companyinteger required
agentinteger required
Agent ID
Request body
Response
Updated agent
Example response
{
"fallbacks": [
{
"destination": {
"value": "nt:12"
}
}
],
"schedule": {
"preset": "custom",
"timezone": "America/Chicago",
"timezone_source": "explicit"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.