---
title: "Call ended"
method: POST
path: "call.ended"
tags: ["Calls"]
---

# Call ended

`POST call.ended` (webhook)

Triggered once a phone call that ended, failed, or went unanswered is settled: billed, with its transcript, and, when the assistant answered or placed it, its summary and analysis (outcome, lead rating, urgency, spam, and the caller's answers to your intake questions)

## Headers

- `webhook-id` string, required
- `webhook-timestamp` string, required
- `webhook-signature` string, required

## Payload

- object
  - `id` string, required: Unique identifier for this webhook event
  - `object` 'event', required
  - `type` 'call.ended', required: The event type
  - `livemode` boolean, required: `false` when a test purchase or a test event from the dashboard caused this event, `true` otherwise
  - `created_at` string, date-time, required: ISO 8601 timestamp of when the event was created
  - `api_version` string, required: API version used to generate the payload
  - `data` object, required: `object` is the resource exactly as its API endpoint returns it.
    - `object` Call, required
      - `id` string, required
      - `object` string, required
      - `direction` 'inbound' | 'outbound', required
      - `status` 'queued' | 'scheduled' | 'ringing' | 'in_progress' | 'ended' | 'failed', required
      - `to_number` string, nullable, required
      - `from_number` string, nullable, required
      - `objective` string, nullable, required
      - `summary` string, nullable, required
      - `transcript` string, nullable, required
      - `recording_url` string, nullable, required
      - `ended_reason` string, nullable, required
      - `duration_seconds` integer, nullable, required
      - `credits_charged` integer, nullable, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `contact` string, nullable, required
      - `analysis` object, nullable, required: What the call was about, filled in shortly after a call the AI answered or placed ends, and carried by call.ended: outcome, callback_requested, lead_rating (hot, warm, cold or not_a_lead), urgent, spam, and intake, the number's intake questions each with the caller's answer or null. Null until then, and for calls the assistant did not answer.
        - `outcome` string: One sentence on how the call ended.
        - `callback_requested` boolean: Whether the caller asked to be called back later.
        - `lead_rating` 'hot' | 'warm' | 'cold' | 'not_a_lead': How ready the caller is to buy: hot wants to buy or book now, warm is interested but undecided, cold is only asking around, not_a_lead is a support question, a wrong number, a vendor or spam.
        - `urgent` boolean: Whether the caller needs the business to act within hours.
        - `spam` boolean: Whether the call was a robocall, a recorded message, or an unsolicited pitch or scam.
        - `intake` object[]: The number's intake questions, in order, each with the caller's answer or null when the call never answered it. Absent when the number has no intake questions.
          - `question` string, required
          - `answer` string, nullable, required

## Acknowledgement `200`

Return any 2xx status within 5 seconds to acknowledge receipt.

---

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