Get Call Recording

Recordings

Get Call Recording

One call's audio as MP3, streamed — it plays inline, or with download=1 saves as call-{id}.mp3. Range requests are honoured so a player can seek, and nothing is cached. A recording lands about a minute after the call ends (404 with Retry-After until then) and is deleted when your plan's retention runs out (410): 30 days on Free and pay-as-you-go, 49 on Pro, 75 on Scale, 365 on Enterprise. Any id List Calls hands out works.

GET/calls/{id}/recording

Path parameters

idstringrequired
The call's id as Place Call or List Calls gave it: out_… or sch_… for a call you placed, the call reference for any other.

Query parameters

downloadstring
1 to save the file (an attachment) rather than play it inline. One of: 1.

Headers

Rangestring
A byte range, for seeking — answered with 206.
Katexs-Workspacestring
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.

Example request

bash
curl "https://app.katexs.com/api/v1/calls/{id}/recording" \
  -H "Authorization: Bearer $KATEXS_API_KEY"

Responses

StatusDescription
200The whole recording, as MP3. Content-Disposition is inline, or attachment with download=1.
206The byte range asked for with Range, as MP3.
400Katexs-Workspace was sent from a workspace that is not a developer workspace.
401The key is missing, wrong or revoked. The answer is always the same, whichever it is.
403The key's access level (read-only or build) does not allow this request, the plan does not include it, or a customer's key named another workspace in Katexs-Workspace. code says which: key_scope_read, key_scope_build, workspace_header_forbidden, or forbidden.
404No call with that id; the call was not recorded; it has not rung yet; or it was recorded and the audio has not landed yet — that last one carries Retry-After: 60.
410Recorded, and since deleted by your plan's retention.
429Over a per-minute limit. Wait for Retry-After seconds. code and limit say which limit: rate_limit_resources (240 requests a minute for the workspace), rate_limit_family (2,400 across a developer's customers), rate_limit_calls, rate_limit_messages, rate_limit_codes, rate_limit_code_recipient, concurrent_calls or number_daily_limit.
502The audio could not be fetched right now. Retry.

Last updated November 2026 · Found a problem? Email support@katexs.com