API reference
The same API the dashboard uses — versioned at /v1 and authenticated with per-tenant keys. Everything you see in your workspace, your code can reach.
Authentication
Create an API key in Dashboard → Settings → API keys(it's shown once). Send it on every request as a bearer token — or the X-API-Key header. Keys are per-tenant: you only ever see your own data.
bash
curl https://api.aurtio.ai/v1/agents \
-H "Authorization: Bearer pk_live_…"
# X-API-Key: pk_live_… also worksRate limits & errors
Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. Exceed the limit and you get 429 with a Retry-After header.
Errors use standard HTTP status codes with a JSON body {"detail": "reason"}: 401 bad or revoked key, 404 not yours or missing, 429 rate limited.
Endpoints
Agents
GET
/v1/agentsPOST
/v1/agentsGET
/v1/agents/{id}PUT
/v1/agents/{id}DELETE
/v1/agents/{id}Calls
GET
/v1/callsGET
/v1/calls/{id}DELETE
/v1/calls/{id}Leads & bookings
GET
/v1/leadsDELETE
/v1/leads/{id}GET
/v1/bookingsDELETE
/v1/bookings/{id}Numbers
GET
/v1/numbersKnowledge
GET
/v1/agents/{id}/knowledgePOST
/v1/agents/{id}/knowledgeWebhooks
GET
/v1/webhooksPOST
/v1/webhooksDELETE
/v1/webhooks/{id}POST
/v1/webhooks/{id}/testPricing
GET
/v1/catalogExample
bash
# create an agent
curl -X POST https://api.aurtio.ai/v1/agents \
-H "Authorization: Bearer pk_live_…" \
-H "Content-Type: application/json" \
-d '{"name": "Front Desk", "language": "hi",
"greeting": "नमस्ते! कैसे मदद कर सकती हूँ?"}'
# read your recent calls
curl "https://api.aurtio.ai/v1/calls?limit=10" \
-H "Authorization: Bearer pk_live_…"