Base URL
Authentication
All authenticated endpoints require an API key:tc_... value); only a hash and the tc_xxxxxxxx prefix are stored.
Roles
| Role | Permissions |
|---|---|
admin | Full access |
developer | Read/write agents, calls, phone numbers |
viewer | Read-only |
Resource Lifecycle
The typical setup order — each resource is scoped to the project of the API key that creates it:Response Format
Success
Error
code is a stable machine-readable string; error is the human-readable message. details and request_id are included when available.
Pagination
Error Codes
| Code | When |
|---|---|
not_found · validation_error · conflict · internal_error | General |
unauthorized · forbidden · invalid_api_key · revoked_api_key | Auth |
agent_not_found · agent_already_published · invalid_agent_config | Agents |
call_not_found · call_not_active · invalid_state_transition | Calls |
phone_number_not_found · phone_number_already_bound | Phone numbers |
tool_not_found · tool_execution_failed · tool_timeout | Tools |
twilio_error · twilio_signature_invalid | Twilio |
rate_limited · concurrency_limit | Rate limiting |