Stop taking calls
Switches the agent off (`takingCalls: false`). Its configuration is kept; start it again with startAgent.
Switches the agent off (takingCalls: false). Its configuration is kept; start it again with startAgent.
X-API-Key<token>Create in the console: Settings → API & webhooks.
agent_id*Agent IdOK
application/json- response
One agent.
agent*An AI agent: its live configuration, draft, status and numbers.
success?SuccessAlways true on success.
true[key: string]?anycurl -X POST 'https://api.callmitra.ai/api/v1/agents/string/pause'{ "agent": { "id": "3f0c2a9e-6a51-4c6e-9a3e-2d1b7c4e8f10", "name": "Priya", "rosterState": "paused", "status": "published", "takingCalls": false, "unpublishedChanges": false }, "success": true}List voices GET
Voices you can put on an agent, with the providers and languages they belong to. Set `config.tts` to a voice's `provider` and `config.voice` to its `voiceId`. Filters narrow `voices` only; `providers` and `languages` always list the full catalog.
Publish the agent's draft POST
Makes the saved draft the version used on calls and clears `unpublishedChanges`. Refused with `agent_state_blocked` when the draft breaks a rule (script too long, voice not available for the language, no usable language-model key, archived agent).