Configure voice agents over REST, run calls over the phone or a WebSocket, and get a signed report when each call ends.
Same engine as the Alebex platform, with an API built for developers. One key, full reference in the docs.
This is a voice agent API, not a raw model API. You build agents (prompt, voices, tier, tools) and place calls; the engine runs the speech, model and voice pipeline.
| Capability | How you reach it | Status |
|---|---|---|
| Agents, voices, tools, webhooks | REST · api.alebex.ai/api/v1/public | Live |
| Phone calls, outbound and inbound | REST · api.voice.alebex.ai/public/call/* | Live, on your own Twilio |
| Browser calls | WebSocket · api.voice.alebex.ai/public/ws/call | Live |
| Live call events | WebSocket frame or REST | Live, switched on per agent |
| Speech-to-text | WebSocket · asr.alebex.ai/asr/ws, PCM16 16 kHz | Live |
| Text-to-speech | Inside agents; voices from GET /public/voices | No standalone API |
Browser calls send 16 kHz PCM16 audio up and receive 24 kHz down, with live transcripts. Speech-to-text takes PCM16, mono, 16 kHz only.
One Voice API key works on both voice hosts: as a bearer token on REST, and on the call socket. Speech-to-text uses its own token from the Speech to Text page.
Lists your agents.
Outbound calls go out on your own Twilio account. Inbound, imported Twilio numbers ring the agent directly, or your Twilio webhook can call POST /public/call/inbound.
555-01xx numbers are the reserved fictional range.
There’s no endpoint to pull a transcript. When the call ends, the transcript and results arrive at your webhook, and the call appears in the console’s call log.
Each call’s report goes to your endpoint when it ends: transcript, recording, outcome, tool calls and cost.
X-Alebex-Signature header.| Limit | Value |
|---|---|
| API requests | 120 reads and 60 writes a minute, per key |
| Calls at once | 5 per account (3 on trial) |
| Call length | Up to 120 minutes, set per agent (10 on trial) |
| Custom tools | 8 per call, 20 tool calls per conversation |
| Webhooks | 10 endpoints, 3 delivery attempts |
| Errors | A consistent {code, message} body with named codes |
Building with an AI coding assistant? Download AGENTS.md from the docs: the whole API contract in one file.