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
| Field | What it is |
|---|---|
call_id | The call's id in OmniDimension. |
call_sid | The call's id at the phone carrier. |
call_request_id | The id of the request that started the call. |
bot_id, bot_name | The agent that took the call. |
call_direction | inbound or outbound. |
from_number, to_number | Who called whom. phone_number repeats from_number. |
call_date, start_time, end_time | When the call ran, in UTC, as YYYY-MM-DD HH:MM:SS. |
call_duration | Length in seconds. Always equals end_time minus start_time. |
call_status | completed, no-answer, busy, failed, voicemail_detected or canceled. |
hangup_source | Who ended the call: user, bot, timeout, voicemail, transfer, system, carrier or screening. |
hangup_reason | Why the call ended, in words. Most useful on failed calls. |
user_email | The email of the account that owns the agent. |
recording_url | A link to the call recording, when there is one. |
recording_available_at | When the recording is ready to download. |
low_interaction | true 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_sourceandhangup_reasonarefalse.recording_available_atisnull.
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.
| Field | Added when | Value |
|---|---|---|
bulk_call_name | The call was placed by a bulk call campaign. | The campaign's name. |
retry_count | The call was placed by a bulk call campaign. | 0 on the first attempt, 1 on the first retry, and so on. |
extra_data | The call was placed by a bulk call campaign. | The contact's own fields from your list, or null if it has none. |
retry | The call was placed by a bulk call campaign. | Whether OmniDimension will call this contact again, and when. See The retry object. |
metadata | Bulk 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. |
transferred | The agent started a transfer during the call. Never sent as false. | true. It means a transfer was started, not that it connected. |
transferred_to_number | A transfer was started and it had exactly one destination. | That number. |
screening_outcome | A phone call screener answered the call. See Call screening. | How the call ended. See the list below. |
screening_outcome is one of these values:
| Value | What happened |
|---|---|
person_answered | The person spoke after the screener. The call went on as a normal call. |
voicemail_left | The screener sent the call to voicemail and the agent left its message. call_status is voicemail_detected. |
no_answer_after_hold | Nobody came on the line while the screener held the call. |
voicemail_skipped | The screener sent the call to voicemail while the agent was already transferring or ending the call. The agent left no message. |
hung_up_during_screening | The 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"
}| Field | What it is |
|---|---|
attempt | Which attempt the call that just ended was: 1 for the first dial, 2 for the first retry, and so on. |
max_attempts | How many attempts the contact can get in total: the first dial plus the retries. |
will_retry | true, false, or "pending" when OmniDimension cannot say yet. |
status | What happens next. One of the values in the table below. |
reason | Why. 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_at | When the next attempt is due, in UTC as ISO 8601, like 2026-10-29T14:30:00Z. null when status is queued, pending or none. |
status | Meaning |
|---|---|
queued | The contact is dialed again as soon as a slot is free. |
scheduled | The contact is dialed again at next_attempt_at. |
callback | The person asked to be called back. The call is placed at next_attempt_at. |
pending | The recording is not complete yet, so OmniDimension cannot say. will_retry is "pending" and reason is null. |
none | The contact is not called again. reason says why. |
Three things to know:
retryis 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:
| Key | Added when |
|---|---|
interactions | Always. One entry per turn of the conversation, in order. Empty when nobody spoke. |
recording_url | The call has a recording. You don't need include for it. |
summary | include has summary, and the call produced a summary. |
sentiment | include has sentiment, and the call produced one. |
extracted_variables | include has extracted_variables, and at least one value was extracted. One key per variable you defined. |
full_conversation | include has fullConversation, and the call has a transcript. |
tool_calls | Always. One entry per tool the agent ran, in order. Empty when no tool ran. |
Each tool_calls entry has these keys:
| Key | What it is |
|---|---|
sequence | The tool call's position in the call, starting at 1. |
interaction_sequence | The sequence of the interactions entry (the turn) the tool ran in. |
tool_call_id | The tool call's id. null on calls made before this field existed. |
name | The tool's name. |
input | The arguments the agent passed to the tool, as an object. |
output | The 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). |
status | success, error, or no_result (the call ended before the tool returned). |
error | The 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_ms | How 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.
| Tool | output keys |
|---|---|
| Calendly booking | event_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 reschedule | The booking keys for the new meeting, plus previous_event_uri |
| Calendly cancel | event_id, event_uri, status, reason |
| Cal.com booking | booking_id, booking_uid, title, start_time, end_time, duration, status, meeting_url, location, attendees (name, email, time_zone), event_type_id |
| Google Calendar booking | event_id, html_link, ical_uid, status, summary, description, start, end, timezone, attendees (email), hangout_link |
| Custom API | http_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 transfer | transfer_numbers, selected_number (null when backup numbers exist, since the carrier picks which one connects), transfer_message, dynamic |
| WhatsApp template | template_name, recipient, variables, message_id, chat_history_id |
| WhatsApp call offer, location or phone request | kind, recipient, message_id |
| Knowledge base search | text (what the agent was given), sources (file_id, file_name, score) |
| Web search | text (what the agent was given), sources (title, url) |
| Chat quick replies, Calendly offer, tutorial video, build handoff | The 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:
event | When it is sent |
|---|---|
call.ended | After every call, as today. |
call.transfer_result | After a transferred call, about 3 minutes after the transfer ends. |
On a transferred call, call.ended also carries transfer_status:
| Value | Meaning |
|---|---|
pending | A call.transfer_result follows for this call. |
unknown | No 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:
| Field | What it is |
|---|---|
transfer_status | answered, not_answered, caller_hung_up (the caller left before anyone answered) or unknown (no result within an hour of the call). |
transfer_numbers | The numbers the call was transferred to, in order. |
transferred_to_number | The number that answered, or null. |
transfer_started_at | When the transfer started. |
transfer_answered_at | When someone answered, or null. |
transfer_ring_seconds | How long it rang before someone answered, or null. |
transfer_ended_at | When the transferred call ended. |
transfer_duration | How long the person talked, in seconds, or null. |
transfer_fail_reason | Why 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
2xxstatus. 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,503or504, the webhook is sent again, up to 4 more times, with growing waits between tries. - Any other answer, such as
400or404, 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_idto ignore a call you already processed. With transfer results on, one call gets two different messages, so usecall_idtogether withevent.
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:
| Action | Gets |
|---|---|
| Email, webhook, Slack | Only 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, WhatsApp | Always. 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 Sheets | Every key extracted on the call, from all actions, each in its own column. |
| Salesforce, HubSpot | A 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?
Errors, rate limits, and retries
Error response shapes, status codes, rate limits, and retry guidance for the OmniDimension REST API.
Real-time and streaming
How real-time data flows in OmniDimension. Streaming voice on live calls, webhook event delivery for call results, and live status polling for bulk campaigns.
