Developer API
An API your future self will thank you for.
Provision, route and observe voice calls programmatically. REST + webhooks + SDKs, with the OpenAPI spec in your editor.
Provision a numbercurl
curl https://api.krosai.com/v1/phone-numbers \
-H "Authorization: Bearer $KROSAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"country": "NG",
"agent_id": "agt_a1b2c3"
}'RESTful, OpenAPI-first
Provision numbers, manage agents, query call history — everything in the cockpit is also in the API. OpenAPI spec and Postman collection downloadable.
- Predictable resource URLs
- JSON request/response everywhere
- Idempotency keys on writes
Event webhooks
Subscribe to call.started, call.ended, call.failed, transcription.ready and more. HMAC-signed payloads, automatic retries with exponential backoff.
- Per-endpoint event filtering
- Delivery history and replay
- Active/inactive toggle without losing config
Scoped API keys
Issue keys with granular permissions and per-key analytics. Rotate or revoke instantly without disrupting other integrations.
SDKs and code samples
Official SDKs for Node, Python and Go. Copy-paste-ready snippets for every endpoint in the docs.
Ship voice AI faster
Read the docs, grab an SDK, and have your first call routed in under 10 minutes.