cURL
curl --request GET \ --url https://dev.voice.ai/api/v1/connection/agent-status/{agent_id} \ --header 'Authorization: Bearer <token>'
{ "agent_id": "<string>", "name": "<string>", "voice_id": "<string>", "status": "<string>", "status_code": 123, "call_allowed": true, "call_validation_details": {} }
Check if an agent is currently available to be connected to.
Bearer token authentication. Use your API key as the bearer token. Format: Authorization: Bearer
Successful Response