API access · Alebex
Canada’s #1 streaming speech-to-text model. Alebex STT recorded a 3.96% word error rate for final transcription on September 21, 2026
Models / API access

API access

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.

The hosts
api.alebex.ai/api/v1/public

Agents, voices, tools and webhooks.

api.voice.alebex.ai/public

Phone calls, browser calls and live call events.

wss://asr.alebex.ai/asr/ws

Streaming speech-to-text.

Authorization: Bearer

One Voice API key for the first two hosts.

Full reference in the developer docs.

On this page Capabilities Authentication Place a call Webhooks Limits
Capabilities

What you can build with it

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.

CapabilityHow you reach itStatus
Agents, voices, tools, webhooksREST · api.alebex.ai/api/v1/publicLive
Phone calls, outbound and inboundREST · api.voice.alebex.ai/public/call/*Live, on your own Twilio
Browser callsWebSocket · api.voice.alebex.ai/public/ws/callLive
Live call eventsWebSocket frame or RESTLive, switched on per agent
Speech-to-textWebSocket · asr.alebex.ai/asr/ws, PCM16 16 kHzLive
Text-to-speechInside agents; voices from GET /public/voicesNo 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.

Hands on a mechanical keyboard with a terminal on screen, dark desk, cool light
Authentication

One key, kept on your server

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.

cURL
export ALEBEX_API_KEY="wt_..."   # server side only curl https://api.alebex.ai/api/v1/public/agents \  --header "Authorization: Bearer $ALEBEX_API_KEY"

Lists your agents.

  • One key per account. It doesn’t expire and has no scopes.
  • Rotating it deletes the old key at once. You can revoke it anytime.
  • Each key is limited to 120 reads and 60 writes a minute; past that, requests return 429 RATE_LIMITED.
  • Browser calls open the socket with your key, so proxy the socket through your backend rather than putting the key in a page.
Place a call

Place a phone call

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.

cURL
curl https://api.voice.alebex.ai/public/call/phone \  --header "Authorization: Bearer $ALEBEX_API_KEY" \  --header "Content-Type: application/json" \  --data '{"agentId": "agt_...", "to": "+16045550142",           "twilio": {"accountSid": "AC...", "authToken": "...",                      "phoneNumber": "+16045550100"}}' # 201 {"id": "...", "providerCallId": "...", "status": "queued"}

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.

Webhooks

A signed report when every call ends

Each call’s report goes to your endpoint when it ends: transcript, recording, outcome, tool calls and cost.

  • Up to 10 endpoints, each with the report fields you choose (25 available).
  • Optional HMAC-SHA256 signing, sent in the X-Alebex-Signature header.
  • Three delivery attempts with backoff, a delivery history, and one-click resend.
Limits

Limits and errors

LimitValue
API requests120 reads and 60 writes a minute, per key
Calls at once5 per account (3 on trial)
Call lengthUp to 120 minutes, set per agent (10 on trial)
Custom tools8 per call, 20 tool calls per conversation
Webhooks10 endpoints, 3 delivery attempts
ErrorsA 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.