---
title: "Call transcript segment event"
method: POST
path: "call.transcript_segment"
tags: ["Webhook Events"]
---

# Call transcript segment event

`POST call.transcript_segment` (webhook)

One final segment of a live call transcript.

### When it fires

Only for teams with zero content retention, on calls with transcription on: once per final segment, while the call is live. Zernio stores no transcript for these teams, so it cannot be fetched later. Store each segment when it arrives.

### Payload notes

`segment.text` is the final text, `segment.confidence` the recognition confidence and `segment.at` when it was transcribed.

## Payload

- WebhookPayloadCallTranscriptSegment: Webhook payload for the `call.transcript_segment` event. Fires once per final transcript segment of a call with transcription on, for teams with zero content retention. Zernio does not store the transcript, so this event is the only copy.
  - `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.transcript_segment', 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
  - `segment` object, required
    - `text` string, required: The final text of this segment.
    - `confidence` number, nullable, required: Speech recognition confidence from 0 to 1, when the provider reports it.
    - `at` string, date-time, required: When the segment was transcribed.
  - `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)
