Path Parameters
agent_id*Agent Id
Format
uuidHeader Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "name": "string", "system_prompt": "string", "first_message": "string", "ai_disclosure": true, "ai_disclosure_line": "string", "voice_config": {}, "tools": [ "string" ], "max_duration_seconds": 0, "voice_enabled": true, "sms_enabled": true, "status": "live", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}Enable Sms
Attach a dedicated number to the org's shared SMS Messaging Service. Required once per number before it can send/receive SMS; the number must already have been acquired with sms capability. Idempotent — calling this again on an already-enabled number just returns its current state. Fails with 422 for a released number or one that lacks sms capability.
Get Call
Fetch one call by id, including its current status and end reason. Org-scoped: returns 404 for a call belonging to a different organization (not 403, to avoid confirming the id exists). Use this to poll for the final outcome of a call placed with POST /v1/calls.