SpeakAlign API

The ingest API lets a dialer, CCaaS platform or automation tool send every recorded call to SpeakAlign with no person in the loop. It is available on the Growth and Enterprise plans. The full OpenAPI reference is served at https://api.speakalign.tech/docs.

Authentication

Create a key under Settings → API keys. Send it as a bearer token. Keys are scoped to one workspace and are shown only once.

Authorization: Bearer sa_live_xxxxxxxxxxxxxxxx

Send a call

POST https://api.speakalign.tech/v1/ingest/calls   (multipart/form-data)

file          the recording (wav, mp3, m4a, flac, ogg)   required
script_id     the compliance script to score against    recommended
external_ref  your own call id; duplicates are rejected  optional
agent_email   attribute the call to a workspace member  optional

Returns the call with status: "uploaded". Turn on hands-free mode in Settings to have the agent identified automatically, so calls run to a finished report without review.

Check a call

GET https://api.speakalign.tech/v1/ingest/calls/{call_id}
GET https://api.speakalign.tech/v1/ingest/scripts

Webhooks

Set a webhook URL in Settings. SpeakAlign POSTs JSON for report.completed and call.needs_review. Verify the X-SpeakAlign-Signature header: it is sha256= followed by the HMAC-SHA256 of the raw body, keyed with your webhook secret.

{
  "event": "report.completed",
  "data": {
    "call_id": "c0a8...", "external_ref": "FIVE9-4821",
    "report_id": "91d2...", "compliance_score": 68,
    "missed_steps": ["CMS disclaimer"]
  },
  "sent_at": "2026-11-10T12:00:00Z"
}

Errors

Every error has the same shape: {"error": {"type", "message", "remedy"}}. 401 bad key, 402 plan limit or missing feature, 404 not in this workspace, 409 duplicate external_ref, 413 file too large, 422 unreadable audio.