MCP is live.Set upAsk the community
OmniDimension

Webhook payload

The JSON a post-call webhook sends after every call, field by field, with retries and transfer results.

When a call ends, a webhook post-call action sends the call's data to your server as one JSON POST. This page lists every field. To add a webhook, see Post-call actions over the API or the dashboard guide.

The request

After each call, a webhook action sends one POST to your url, with a JSON body like this:

{
  "call_id": 7651752,
  "call_sid": "CA4b1f9e2d7c...",
  "call_request_id": 91422,
  "bot_id": 158910,
  "bot_name": "Front desk",
  "call_direction": "outbound",
  "from_number": "+15551230000",
  "to_number": "+15551234567",
  "phone_number": "+15551230000",
  "call_date": "2026-10-16 14:02:11",
  "start_time": "2026-10-16 14:02:11",
  "end_time": "2026-10-16 14:04:37",
  "call_duration": 146,
  "call_status": "completed",
  "hangup_source": "user",
  "hangup_reason": "The caller hung up.",
  "user_email": "demo@example.com",
  "recording_url": "https://backend.omnidim.io/...",
  "recording_available_at": "2026-10-16 14:06:07",
  "low_interaction": false,
  "metadata": { "lead_id": "L-1042" },
  "call_report": {
    "summary": "The caller booked a cleaning for Friday at 10 am.",
    "sentiment": "Positive",
    "extracted_variables": { "outcome": "booked" },
    "full_conversation": "...",
    "recording_url": "https://backend.omnidim.io/...",
    "interactions": [
      {
        "sequence": 1,
        "user_query": "Hi, I want to book a cleaning.",
        "bot_response": "Sure. What day works for you?",
        "time": "2026-10-16 14:02:15"
      }
    ],
    "tool_calls": [
      {
        "sequence": 1,
        "interaction_sequence": 3,
        "tool_call_id": "call_8f2a",
        "name": "book_cleaning",
        "input": { "date": "2026-10-17", "time": "10:00" },
        "output": { "status": "booked", "booking_id": "B-311" },
        "status": "success",
        "error": null,
        "duration_ms": 840
      }
    ]
  }
}

Call fields

FieldWhat it is
call_idThe call's id in OmniDimension.
call_sidThe call's id at the phone carrier.
call_request_idThe id of the request that started the call.
bot_id, bot_nameThe agent that took the call.
call_directioninbound or outbound.
from_number, to_numberWho called whom. phone_number repeats from_number.
call_date, start_time, end_timeWhen the call ran, in UTC, as YYYY-MM-DD HH:MM:SS.
call_durationLength in seconds. Always equals end_time minus start_time.
call_statuscompleted, no-answer, busy, failed, voicemail_detected or canceled.
hangup_sourceWho ended the call: user, bot, timeout, voicemail, transfer, system, carrier or screening.
hangup_reasonWhy the call ended, in words. Most useful on failed calls.
user_emailThe email of the account that owns the agent.
recording_urlA link to the call recording, when there is one.
recording_available_atWhen the recording is ready to download.
low_interactiontrue when the call had 4 turns or fewer, for example a quick hang-up.

Every call field above is always in the body, but some can be empty. On a call with no recording or no hang-up details, such as most no-answer and busy calls:

  • recording_url, hangup_source and hangup_reason are false.
  • recording_available_at is null.

Treat both false and null as "no value".

Fields added only in certain cases

These keys are left out of the body entirely unless their condition is true.

FieldAdded whenValue
bulk_call_nameThe call was placed by a bulk call campaign.The campaign's name.
retry_countThe call was placed by a bulk call campaign.0 on the first attempt, 1 on the first retry, and so on.
extra_dataThe call was placed by a bulk call campaign.The contact's own fields from your list, or null if it has none.
retryThe call was placed by a bulk call campaign.Whether OmniDimension will call this contact again, and when. See The retry object.
metadataBulk call: always, with the contact's metadata or null. Any other call: only if you sent metadata when you started it with dispatch or a web call session.Exactly what you sent.
transferredThe agent started a transfer during the call. Never sent as false.true. It means a transfer was started, not that it connected.
transferred_to_numberA transfer was started and it had exactly one destination.That number.
screening_outcomeA phone call screener answered the call. See Call screening.How the call ended. See the list below.

screening_outcome is one of these values:

ValueWhat happened
person_answeredThe person spoke after the screener. The call went on as a normal call.
voicemail_leftThe screener sent the call to voicemail and the agent left its message. call_status is voicemail_detected.
no_answer_after_holdNobody came on the line while the screener held the call.
voicemail_skippedThe screener sent the call to voicemail while the agent was already transferring or ending the call. The agent left no message.
hung_up_during_screeningThe call ended while the screener was on the line, before any of the outcomes above. Either side may have hung up.

To follow up on calls the person never took, act on hung_up_during_screening, voicemail_left and no_answer_after_hold.

The retry object

For a call placed by a bulk call campaign, retry says whether OmniDimension will call this contact again, and when:

"retry": {
  "attempt": 1,
  "max_attempts": 3,
  "will_retry": true,
  "status": "scheduled",
  "reason": "no-answer",
  "next_attempt_at": "2026-10-29T14:30:00Z"
}
FieldWhat it is
attemptWhich attempt the call that just ended was: 1 for the first dial, 2 for the first retry, and so on.
max_attemptsHow many attempts the contact can get in total: the first dial plus the retries.
will_retrytrue, false, or "pending" when OmniDimension cannot say yet.
statusWhat happens next. One of the values in the table below.
reasonWhy. For a call that did not connect, its call status: busy, no-answer, failed or cancelled. no_conversation when the person picked up but there was no conversation; under the Let the model decide rule this also covers a retry decided by post-call analysis. callback_requested when the person asked to be called back. When status is none: retry_limit_reached, auto_retry_off, call_answered, or retry_cancelled when a retry was created and then canceled, for example by a callback request. null when status is pending.
next_attempt_atWhen the next attempt is due, in UTC as ISO 8601, like 2026-10-29T14:30:00Z. null when status is queued, pending or none.
statusMeaning
queuedThe contact is dialed again as soon as a slot is free.
scheduledThe contact is dialed again at next_attempt_at.
callbackThe person asked to be called back. The call is placed at next_attempt_at.
pendingThe recording is not complete yet, so OmniDimension cannot say. will_retry is "pending" and reason is null.
noneThe contact is not called again. reason says why.

Three things to know:

  • retry is absent for calls that are not part of a bulk call campaign.
  • It reflects what OmniDimension had decided when the webhook was sent. A callback request found later by post-call analysis can cancel a queued retry. The webhook is not sent again.
  • Retries a person starts from the Retry Calls dialog on a completed campaign are never predicted here.

The call report

call_report is always in the body. Its keys depend on include and on what the call produced:

KeyAdded when
interactionsAlways. One entry per turn of the conversation, in order. Empty when nobody spoke.
recording_urlThe call has a recording. You don't need include for it.
summaryinclude has summary, and the call produced a summary.
sentimentinclude has sentiment, and the call produced one.
extracted_variablesinclude has extracted_variables, and at least one value was extracted. One key per variable you defined.
full_conversationinclude has fullConversation, and the call has a transcript.
tool_callsAlways. One entry per tool the agent ran, in order. Empty when no tool ran.

Each tool_calls entry has these keys:

KeyWhat it is
sequenceThe tool call's position in the call, starting at 1.
interaction_sequenceThe sequence of the interactions entry (the turn) the tool ran in.
tool_call_idThe tool call's id. null on calls made before this field existed.
nameThe tool's name.
inputThe arguments the agent passed to the tool, as an object.
outputThe tool's record. For booking, messaging and API tools it's an object with the ids, links and contact details (see below). For other tools it's what the tool returned: an object or a string. When the tool never returned, output is null, unless the tool kept a record before that (a transfer does).
statussuccess, error, or no_result (the call ended before the tool returned).
errorThe error message when status is error or no_result, else null. Calls made before tool_calls existed have null here even when status is error.
duration_msHow long the tool took, in milliseconds. null when not measured.

For these tools, output is an object with a fixed set of keys. A key whose value isn't known is null.

Tooloutput keys
Calendly bookingevent_id, event_uri, invitee_uri, invitee_name, invitee_email, invitee_phone, event_type_name, start_time, end_time, timezone, location, cancel_url, reschedule_url, status, questions_and_answers
Calendly rescheduleThe booking keys for the new meeting, plus previous_event_uri
Calendly cancelevent_id, event_uri, status, reason
Cal.com bookingbooking_id, booking_uid, title, start_time, end_time, duration, status, meeting_url, location, attendees (name, email, time_zone), event_type_id
Google Calendar bookingevent_id, html_link, ical_uid, status, summary, description, start, end, timezone, attendees (email), hangout_link
Custom APIhttp_status, method, endpoint (without the query string), response (the API's response; above 4,000 characters it comes as the first 4,000 characters of its JSON text), error_body (the API's error response, up to 2,000 characters; null on success). Present only when the API answered. If the call failed before that (timeout, unknown integration), output is the error text.
Call transfertransfer_numbers, selected_number (null when backup numbers exist, since the carrier picks which one connects), transfer_message, dynamic
WhatsApp templatetemplate_name, recipient, variables, message_id, chat_history_id
WhatsApp call offer, location or phone requestkind, recipient, message_id
Knowledge base searchtext (what the agent was given), sources (file_id, file_name, score)
Web searchtext (what the agent was given), sources (title, url)
Chat quick replies, Calendly offer, tutorial video, build handoffThe content shown to the user in the chat, such as the options, the Calendly link or the video link

Example: a Calendly booking.

{
  "sequence": 2,
  "interaction_sequence": 5,
  "tool_call_id": "call_31bc",
  "name": "book_calendly_appointment",
  "input": { "start_time": "2026-10-17T10:00:00", "name": "Demo User", "email": "demo@example.com" },
  "output": {
    "event_id": "ABCD1234",
    "event_uri": "https://api.calendly.com/scheduled_events/ABCD1234",
    "invitee_uri": "https://api.calendly.com/scheduled_events/ABCD1234/invitees/XYZ",
    "invitee_name": "Demo User",
    "invitee_email": "demo@example.com",
    "invitee_phone": null,
    "event_type_name": "30 Minute Meeting",
    "start_time": "2026-10-17T04:30:00Z",
    "end_time": "2026-10-17T05:00:00Z",
    "timezone": "Asia/Kolkata",
    "location": { "kind": "google_conference" },
    "cancel_url": "https://calendly.com/cancellations/XYZ",
    "reschedule_url": "https://calendly.com/reschedulings/XYZ",
    "status": "active",
    "questions_and_answers": []
  },
  "status": "success",
  "error": null,
  "duration_ms": 1240
}

A call nobody answered has no conversation, so it has no summary, sentiment, extracted_variables or full_conversation, even if you asked for them. Check that a key exists before you read it.

Transfer results

When your agent transfers a call, the first webhook goes out the moment the agent hands over, before anyone picks up. If transfer results are turned on for your workspace, a second message follows to the same URL once the transfer ends, saying who answered. To turn them on, contact support.

With transfer results on, every webhook body carries event:

eventWhen it is sent
call.endedAfter every call, as today.
call.transfer_resultAfter a transferred call, about 3 minutes after the transfer ends.

On a transferred call, call.ended also carries transfer_status:

ValueMeaning
pendingA call.transfer_result follows for this call.
unknownNo transfer result is available for this call, so nothing follows.

call.transfer_result carries the same call fields as call.ended (call_id, call_sid, call_request_id, bot_id, bot_name, call_direction, from_number, to_number, start_time, end_time, and bulk_call_name, retry_count, extra_data, metadata when the call has them), so you can match it to the call. Then the transfer fields:

FieldWhat it is
transfer_statusanswered, not_answered, caller_hung_up (the caller left before anyone answered) or unknown (no result within an hour of the call).
transfer_numbersThe numbers the call was transferred to, in order.
transferred_to_numberThe number that answered, or null.
transfer_started_atWhen the transfer started.
transfer_answered_atWhen someone answered, or null.
transfer_ring_secondsHow long it rang before someone answered, or null.
transfer_ended_atWhen the transferred call ended.
transfer_durationHow long the person talked, in seconds, or null.
transfer_fail_reasonWhy nobody answered, such as NOANSWER, or null.

Times are UTC, as YYYY-MM-DD HH:MM:SS, like the call fields.

{
  "event": "call.transfer_result",
  "call_id": 277,
  "call_sid": "1795099158.96918",
  "call_request_id": 551203,
  "bot_id": 129,
  "bot_name": "Support agent",
  "call_direction": "outbound",
  "from_number": "+919000000001",
  "to_number": "+919000000002",
  "start_time": "2026-11-20 07:11:21",
  "end_time": "2026-11-20 07:12:21",
  "transfer_status": "answered",
  "transfer_numbers": ["+919000000101", "+919000000102"],
  "transferred_to_number": "+919000000102",
  "transfer_started_at": "2026-11-20 07:12:21",
  "transfer_answered_at": "2026-11-20 07:12:35",
  "transfer_ring_seconds": 14,
  "transfer_ended_at": "2026-11-20 07:13:17",
  "transfer_duration": 42,
  "transfer_fail_reason": null
}

Wait for a call.transfer_result only when call.ended says transfer_status: pending.

Delivery and retries

  • Your server should answer with any 2xx status. Do the heavy work after you answer, because a request is given up after 30 seconds.
  • If your server is down, times out, or answers 408, 425, 429, 500, 502, 503 or 504, the webhook is sent again, up to 4 more times, with growing waits between tries.
  • Any other answer, such as 400 or 404, is final. It is not retried, so fix the endpoint and the next call will deliver.
  • If your server fails several times in a row, deliveries to it pause for a short while, then resume on their own. They are kept and sent, not dropped, for up to about 20 minutes.
  • Retries can send the same message twice. Use call_id to ignore a call you already processed. With transfer results on, one call gets two different messages, so use call_id together with event.

How extracted variables work

An extracted variable is a detail the agent pulls out of the conversation, like customer_name or appointment_date. Each one is a key (the name you get back) and a prompt (what the agent should look for). An action can have as many as you need.

One extraction per call. After the call, the agent reads the conversation once and fills in the variables of all the agent's actions together. Adding more actions doesn't add more work per call.

Each action gets its own keys. The results are then split by action:

ActionGets
Email, webhook, SlackOnly when include has extracted_variables. Then: the keys defined on that action, or every key extracted on the call if the action defines none.
Zoho Bigin, workflow, WhatsAppAlways. When include has extracted_variables and the action defines keys, only those keys. Otherwise, every key extracted on the call. A WhatsApp template fills its placeholders from these keys.
Google SheetsEvery key extracted on the call, from all actions, each in its own column.
Salesforce, HubSpotA fixed set of fields for the chosen object. You don't define variables for them.

Same key, same prompt. One key has one prompt per agent, because it is extracted only once. If your webhook asks for outcome and a Slack action asks for outcome too, both prompts must match. A new action that reuses a key with a different prompt is refused with a 400, and nothing changes. Give it a new key instead, such as slack_outcome.

Different keys, different prompts. Keys only need to differ from each other. You can give the webhook budget and the email follow_up_date, each with its own prompt, and each action receives its own.

Was this page helpful?

On this page