---
title: "Call recording ready event"
method: POST
path: "call.recording_ready"
tags: ["Webhook Events"]
---

# Call recording ready event

`POST call.recording_ready` (webhook)

A call recording is ready to download.

### When it fires

Only for teams with zero content retention, on calls with recording on, and only while a webhook listens to it. Zernio keeps no recording for these teams, and the copy behind the link expires after about 3 days. Download the file before `recording.expiresAt`.

### Payload notes

`call.isVoicemail` tells a voicemail from a recorded call. If the recording could not be copied, no event fires and `call.ended` lists it in `callErrors`.

## Payload

- WebhookPayloadCallRecordingReady: Webhook payload for the `call.recording_ready` event. Fires when the recording of a call (or voicemail) is ready, for teams with zero content retention. Zernio does not keep the recording: download it from `recording.url` before `recording.expiresAt`.
  - `test` boolean: Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
  - `id` string, required: Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
  - `profiles` object[]: The profiles this event belongs to, each with the externalId you set on it (null when none is set). Use it to route the event to your tenant without storing Zernio profile ids. Present on every event tied to a profile, absent on events that belong to none. Events spanning several profiles (a post published to accounts of different profiles) list each once.
    - `id` string, required
    - `externalId` string, nullable, required
  - `event` 'call.recording_ready', required
  - `call` object, required
    - `id` string: Internal Zernio Call doc id
    - `metaCallId` string, nullable: Meta wacid.* call id when known
    - `accountId` string
    - `phoneNumberId` string: Meta phone_number_id
    - `direction` 'inbound' | 'outbound'
    - `from` string: Consumer wa_id / E.164
    - `to` string: Business number (E.164)
    - `contactId` string
    - `conversationId` string
    - `isVoicemail` boolean
  - `recording` object, required
    - `url` string, uri, required: Temporary link to the recording file.
    - `expiresAt` string, date-time, required: When the link stops working, about 3 days after the call.
  - `account` InboxWebhookAccount, required: The account context included in inbox webhook payloads.
    - `id` string, required: Account ID
    - `accountId` string: Account ID (same value as id). Canonical field so consumers can filter every webhook event on one field (e.g. route staging vs production by account). id is kept for backward compatibility.
    - `profileId` string: Zernio profile ID this account belongs to. Use it to route or filter inbox webhooks by profile. This is the profile ID only, not its name (resolve the name via the API with this ID). Optional: omitted on the shared WhatsApp sandbox account and when the account has no resolvable profile.
    - `platform` string, required
    - `username` string, required
    - `displayName` string
    - `pageId` string: The bare Facebook Page id behind the account, to route inbound messages by Page. Present for Facebook accounts and Instagram accounts connected through Facebook Login; omitted otherwise.
  - `timestamp` string, date-time, required: UTC time at which Zernio generated this event (set once when the event payload is built, before delivery is queued). Retries and redeliveries keep the original value, so it reflects the event, not the delivery attempt.

## Acknowledgement `200`

Webhook received successfully

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) - [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/a79c233ebf22?raw)
