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
idas Place Call or List Calls gave it:out_…orsch_…for a call you placed, the call reference for any other.
Query parameters
- downloadstring
1to 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 fromPOST /customers. Leave it out to act in your own workspace. Refused with404(Workspace not found.) when the id is unknown, is not one of your customers, or is not anorg_…id;410when that customer was deleted (restore it withPOST /customers/{id}/restoreuntil it is erased);403when the key belongs to one customer workspace (it cannot act as another);400when your workspace is not a developer workspace./customers/*andGET /customers/usageare your own workspace's and refuse the header with400: call them without it.
Example request
bash
curl "https://app.katexs.com/api/v1/calls/{id}/recording" \
-H "Authorization: Bearer $KATEXS_API_KEY"Responses
| Status | Description |
|---|---|
200 | The whole recording, as MP3. Content-Disposition is inline, or attachment with download=1. |
206 | The byte range asked for with Range, as MP3. |
400 | Katexs-Workspace was sent from a workspace that is not a developer workspace. |
401 | The key is missing, wrong or revoked. The answer is always the same, whichever it is. |
403 | The 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. |
404 | No 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. |
410 | Recorded, and since deleted by your plan's retention. |
429 | Over 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. |
502 | The audio could not be fetched right now. Retry. |
Last updated November 2026 · Found a problem? Email support@katexs.com
