Recordings API

List call recordings and fetch time‑limited download URLs, and choose where recordings go: kept in Telenow, or sent to you with no copy kept. All endpoints are organization‑scoped and return the dashboard envelope { "success": true, "data": { … } }.

Auth: an API key (X-API-Key, org implicit) or a user JWT plus X-Org-Id. Reads work with any valid key; POST /upload requires an owner, admin, or developer key, and PUT /delivery an owner or admin one. A key is pinned to its own org — another org's {orgId} in the path returns 403.

Endpoints

MethodPathPurpose
GET/api/orgs/{orgId}/recordingsList recordings, newest first (optional ?agentId=, ?sessionId=, ?limit=, ?cursor=)
GET/api/orgs/{orgId}/recordings/{id}Recording metadata
GET/api/orgs/{orgId}/recordings/{id}/signed-urlGet a short‑lived download URL
GET/api/orgs/{orgId}/recordings/{id}/fileStream the audio (or redirect to storage)
POST/api/orgs/{orgId}/recordings/uploadUpload a recording (multipart)
GET/api/orgs/{orgId}/recordings/deliveryWhere the org's recordings go
PUT/api/orgs/{orgId}/recordings/deliveryChoose where they go: kept in Telenow, or sent to you
GET/api/orgs/{orgId}/call-audio/{id}/fileAd‑blocker‑safe alias of …/recordings/{id}/file
GET/api/orgs/{orgId}/call-audio/{id}/signed-urlAd‑blocker‑safe alias of …/signed-url

Paging and one call's recordings

Without parameters the list returns the newest 200 recordings. To read further back, or to read one call's parts, pass any of:

  • sessionId — only that call's recordings;
  • limit — page size, at most 200;
  • cursor — the data.nextCursor of the page before; the next page starts just after its last recording.

nextCursor is set while a page came back full and null on the last page. Recordings stored after you started paging appear at the top of the list, never inside the pages behind your cursor.

Use /call-audio in browser code

This is the single most common "recording won't load" cause, and it is not a Telenow bug.

EasyPrivacy‑class filter lists (uBlock Origin, AdGuard, Brave Shields) block any URL containing recording — they're targeting session‑replay trackers like Hotjar and FullStory, and our path is collateral damage. The request never reaches the server; you see a failed XHR in devtools and an empty player, while the same URL fetched with curl returns 200.

/call-audio/{id}/file and /call-audio/{id}/signed-url are the same handlers behind the same auth — only the path differs, chosen to survive those filter lists. Rules of thumb:

  • Browser/XHR/<audio src> → use /call-audio/….
  • Server‑to‑server → either works; /recordings/… is fine and stays supported.

If a customer reports "Recording could not be loaded", have them try in a private window with extensions disabled before you investigate storage.

Downloading audio

Recordings are not public. Request a signed URL (valid 5 minutes) per recording id and use it immediately:

curl https://api.telenow.ai/api/orgs/{orgId}/recordings/{id}/signed-url \
  -H "X-API-Key: vai_live_…"
{ "success": true, "data": { "url": "https://…", "expiresAt": "2026-06-08T12:34:56Z" } }

GET …/{id}/file streams the bytes directly (local storage) or redirects to a signed storage URL (S3‑style backends) — useful for an <audio src>. It's JWT/key‑protected, so it can't be embedded in a public page; for that, fetch a signed-url instead.

Metadata

GET /api/orgs/{orgId}/recordings/{id}

The recording row carries: id, org_id, the session_id it belongs to, agent_id, channel (e.g. softphone, web, telephony), storage_kind, mime, sample_rate, duration_sec, size_bytes, metadata, and created_at. List with the org endpoint and filter by agent via ?agentId=:

{ "success": true, "data": { "recordings": [ /* … */ ], "total": 12 } }

Recordings on the call detail (the two‑recording case)

A single call can have more than one recording. The most common reason is a warm transfer: the AI portion (Telenow's in‑house mix, uploaded when the stream stops at transfer/hangup) and the bridged human portion (the carrier's own recording of the caller talking to the human, ingested after the transfer) are stored as two rows.

The single recording_id on the call (the latest) stays for back‑compat, but the call detail endpoint returns all of a call's recordings as an array, oldest first, so neither half is hidden:

GET /api/orgs/{orgId}/calls/{id}
{
  "success": true,
  "data": {
    "id": "…",
    "recording_id": "…",
    "recordings": [
      {
        "id": "…",
        "channel": "telephony",
        "duration_sec": 92,
        "created_at": "2026-06-08T12:30:11Z",
        "source": null
      },
      {
        "id": "…",
        "channel": "telephony",
        "duration_sec": 145,
        "created_at": "2026-06-08T12:31:48Z",
        "source": "transfer_bridge"
      }
    ]
  }
}

The source field marks the post‑transfer carrier recording as "transfer_bridge"; the AI conversation has source: null. Each part is downloaded by its own recording id through /recordings/{id}/signed-url (or /file) — there is no per‑call audio endpoint. Calls without a transfer return a single‑element array (or an empty one when nothing was recorded).

Uploading

POST /api/orgs/{orgId}/recordings/upload accepts multipart/form-data. This is how the browser web‑call widget stores its locally‑mixed HD audio; most server‑side recordings (softphone, telephony, transfer bridges) are created automatically and you never call this.

PartRequiredDefaultNotes
fileyes—The audio bytes.
session_idno—Links the recording to a call. Without it the row is orphaned and won't appear on any call detail.
agent_idno—Enables ?agentId= filtering on the list endpoint.
channelnowebweb, softphone, telephony.
mimenoaudio/wavSet it if you upload anything else, or players may refuse the file.
sample_rateno—Hz, e.g. 24000.
duration_secno—Seconds. See the warning below.
partno—Distinguishes multiple uploads for one session.

Send a real duration_sec. If it's absent or wrong, the recording can be stored with a duration derived from an epoch timestamp — which surfaces in the dashboard as an absurd length and breaks the player's seek bar. Pass the actual measured duration in seconds.

Limits and errors

StatusMeaning
201Created — returns the new recording row.
400Malformed multipart, or no file part.
403Key role is read‑only (viewer/member), or the key belongs to another org.
413Body over the 100 MB limit. Split long calls, or upload a compressed format.
409This workspace sends its recordings to its own systems and Telenow keeps no copy, so this recording was not stored. Recordings are sent to you, so nothing is stored.

Where recordings go

By default Telenow keeps each call recording: you play it in the dashboard, list and download it with the endpoints above, and receive recording.ready with a signed link. An owner or admin can instead choose:

  • Your storage + keep a copy in Telenow (storage_keep): each recording is kept here as usual and also copied to your own bucket.
  • Your storage only (storage): each recording goes to your own bucket, and Telenow keeps no copy.
  • Send to us (send): each finished recording goes to your webhook as a recording.audio event, and Telenow keeps no copy.

With no copy kept (storage or send), Telenow stores nothing: no file and no recording row. In the dashboard this is Workplace → Storage (or Workplace → Organization → Call recordings) → Where recordings go.

This setting only decides where the file goes. Whether a call is recorded at all is still its agent's telephony.recording setting, and on a softphone call the member's Record their softphone calls setting.

MethodPathWho
GET/api/orgs/{orgId}/recordings/deliveryAny member of the org, or any of its API keys
PUT/api/orgs/{orgId}/recordings/deliveryOwner or admin. An API key needs the owner or admin role itself

Read the setting

curl https://api.telenow.ai/api/orgs/{orgId}/recordings/delivery \
  -H "X-API-Key: $TELENOW_API_KEY"
{
  "success": true,
  "data": {
    "destination": "telenow",
    "sendModeAvailable": true,
    "storageModeAvailable": true,
    "audioEndpoints": { "orgWide": 1, "agentScoped": 0 },
    "storageVerified": false,
    "ready": true
  }
}
FieldMeaning
destinationtelenow (the default): recordings are kept here. storage_keep: kept here and copied to your own bucket. storage: put in your own bucket and not kept. send: sent to your webhook and not kept.
sendModeAvailableWhether send can be switched on. While it is false, a PUT with send is refused with 409. Switching to telenow always works.
storageModeAvailableWhether storage and storage_keep can be switched on. While it is false, a PUT with either is refused with 409.
storageVerifiedWhether your own storage is connected and its current settings passed a test. storage and storage_keep need it.
audioEndpoints.orgWideEnabled webhook endpoints with no agentId that name recording.audio in events. These receive every recording, softphone calls' included. For a sub-account, its parent account's org-wide endpoints count too: they receive the sub-account's recordings.
audioEndpoints.agentScopedEnabled endpoints scoped to one of your agents that name recording.audio. Each receives only that agent's recordings.
readyfalse when destination is send and audioEndpoints.orgWide is 0, or when it is storage / storage_keep and storageVerified is false. Recordings with nowhere to go are then lost (or missing from your bucket), each reported as recording.failed.

An endpoint subscribed with ["*"] doesn't count: it never receives recording.audio, which goes only to endpoints that name it.

Change it

curl -X PUT https://api.telenow.ai/api/orgs/{orgId}/recordings/delivery \
  -H "X-API-Key: $TELENOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "destination": "send" }'

The body has one field, destination: "telenow", "storage_keep", "storage" or "send". The answer is the same object as the GET, after the change. For storage or storage_keep, connect and test your own storage first.

Before you switch to send:

  1. Create an endpoint with no agentId whose events include recording.audio. An endpoint scoped to one agent is not enough: it never receives other agents' recordings, or any softphone call's.
  2. Make your receiver accept the recording.audio request. It is multipart/form-data, not JSON, and it carries the only copy of the audio.

Each recording follows the setting in force when it finishes, so a call already in progress when you switch follows the new choice. Recordings already kept in Telenow stay. Recordings sent while send was on were never kept, so switching back to telenow doesn't bring them here.

StatusErrorWhen
400`destination` is required: "telenow" or "send"No destination. The body must be a JSON object with only that field: another field, or another value, is refused with 400 as well.
403—Your role, or the API key's, is not owner or admin.
409Send mode isn't switched on for this deployment yet …sendModeAvailable is false.
409Add an org-wide webhook endpoint (no agent) that subscribes to `recording.audio` first …No endpoint with no agentId names recording.audio.
409Sending recordings to your own storage isn't switched on …storageModeAvailable is false.
409Connect your storage and pass its test first …storageVerified is false.

While recordings are sent to you

  • Nothing is stored for new calls. They have no recording row, so the list, /file and /signed-url endpoints have nothing for them, the dashboard can't play them, and recording.ready doesn't fire. A recorded call's call.ended says "recordingMode": "send".
  • Uploads are refused with 409 (see Uploading).
  • A transferred call's bridged part is not recorded. In this mode Telenow asks no carrier to record a transferred call, because the carrier would keep its own copy.
  • A recording that can't be delivered is gone. Telenow retries it for a while from memory only, then reports it as recording.failed. There is no copy to fetch later.
  • The last endpoint that receives every recording is protected. While destination is send, you can't take recording.audio off the last endpoint with no agentId that has it, or delete that endpoint: both are refused with 409.

Your own storage

Connect any S3-compatible bucket (AWS S3, Supabase, Cloudflare R2, Wasabi, MinIO, Google Cloud Storage with HMAC keys) in Workplace → Storage, or with these endpoints. Telenow only writes to it, so a key that can write into that bucket and folder is enough.

MethodPathWho
GET/api/orgs/{orgId}/storageAny member, or any API key. Keys come back masked
PUT/api/orgs/{orgId}/storageOwner or admin (the API key's own role too)
POST/api/orgs/{orgId}/storage/testOwner or admin
DELETE/api/orgs/{orgId}/storageOwner or admin. Refused with 409 while recordings still go there
GET/api/orgs/{orgId}/storage/deliveriesAny member: the latest 50, and counts for 7 days
POST/api/orgs/{orgId}/storage/deliveries/{id}/retryOwner or admin: sends a failed copy again, when Telenow still has the recording
curl -X PUT https://api.telenow.ai/api/orgs/{orgId}/storage \
  -H "X-API-Key: $TELENOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "endpoint": "https://abcd1234.supabase.co/storage/v1/s3", "region": "ap-south-1",
        "bucket": "my-recordings", "prefix": "telenow/",
        "accessKey": "…", "secretKey": "…" }'

Leave endpoint out for AWS S3. A change to the endpoint, region, bucket, prefix, a key or encryption (provider, the default, or aes256) is tested at once: Telenow writes a small <prefix>.telenow-check object, and the answer's test says how it went. Nothing is delivered until a test of the current settings passes. Send a key back as the masked value you were shown to keep the stored one.

Each recording lands at <prefix>recordings/<yyyy>/<mm>/<dd>/<agentId>/<sessionId>-<recordingId>.wav and is announced by recording.stored. linkStyle decides what that event carries: none (bucket and key only, the default), presigned (a link signed with your key for linkDays, 1 to 7; the key then needs read access too), or public (publicBaseUrl plus the key: permanent, and anyone with it can open the file).

Chat photos. A tool set to send the customer's photos (tools) can have each photo copied to your bucket first, at <prefix>chat-files/<yyyy>/<mm>/<dd>/<agentId>/<conversationId>/<photoId>.<ext>. Choose it on the Chat photos and files card, or with PUT /api/orgs/{orgId}/storage/chat-files and {"destination": "storage_keep"} ("telenow", the default, sends links to Telenow's copy only); GET the same path to read it. It needs a tested bucket, like the recording options. The copies are listed with the recordings in GET …/storage/deliveries (kind: "chat_file"); a failed one isn't sent again from there, because the tool call it was for didn't happen. While chat photos go to your bucket, DELETE …/storage is refused (409) too.

Every chat file as it arrives. With chat photos going to your storage, {"destination": "storage_keep", "when": "every_file"} copies every file a customer sends on WhatsApp or web chat in the background, as it arrives, announced by chat_file.stored. WhatsApp files land under the thread and message id; a photo already copied for a tool call is not copied again. "when": "tool" (the default) copies photos only with the tool call.

Transcripts. PUT /api/orgs/{orgId}/storage/transcripts with {"destination": "storage_keep"} (or the Transcripts card) writes each session's transcript to <prefix>transcripts/<yyyy>/<mm>/<dd>/<agentId>/<sessionId>.json about a minute after it ends, announced by transcript.stored; "telenow" (the default) keeps them in Telenow only. GET the same path to read it. Telenow keeps every transcript either way.

Transcripts and files copied as they arrive are retried for several hours when your storage doesn't answer; one that still fails is reported as storage.delivery_failed, listed in GET …/storage/deliveries (kind: "transcript" or "chat_file", retryable: true) and can be sent again with POST …/storage/deliveries/{id}/retry. While transcripts go to your bucket, DELETE …/storage is refused (409) too.

Files in your bucket are yours: deleting a call in Telenow, or disconnecting your storage, doesn't remove them.

Errors (all endpoints)

StatusMeaningFix
401Access token is requiredYou sent no credential, or a JWT without X-Org-Id.
401Invalid or revoked API keyCheck the key is complete — secrets are 52 characters and contain -/_, so a truncated paste looks like a revoked key.
403This API key is scoped to a different organization.The {orgId} in the path isn't the key's org.
404recording not foundWrong id, or it belongs to another org — the lookup is org‑scoped, so cross‑org ids read as "not found" rather than confirming existence.
500Something went wrongGeneric. For recordings this is usually a storage backend failure (S3 unreachable, object missing for the row's storage_kind). The specific cause is server‑side only — it's logged, never returned. If it's reproducible for one recording id, that row's bytes are likely gone.

recording.ready webhook

When a recording is finalized — including ones that land shortly after a call ends, such as a transfer bridge — Telenow fires the recording.ready webhook carrying a signed URL, so you can ingest audio without polling. While recordings are sent to you instead, nothing is stored and recording.ready doesn't fire: the audio itself arrives as recording.audio.