Help Center / Features

Receiving a Callback After a Call

On this page

When a call ends, Callingly sends a POST request with the details below to each webhook set up for the call_completed event, under Settings → Webhooks or through the API. It usually goes out about a minute after the call ends. If the transcript is still being processed, Callingly waits up to five more minutes for it, so transcript can still be null if it isn't ready by then. Answered AI calls send it too.

FieldTypeDescription
idinteger
account_idinteger
team_idinteger
statusstringringing, in-progress, offline, missed, completed, ignored, busy, or error
resultstringmissed, voicemail, contacted, removed
directionstringinbound, outbound
typestringHow the call was placed, e.g. automatic, manual, app, transfer, ai_transfer. An AI warm transfer sends two events: the AI call, and the rep's leg (ai_transfer).
transfer_idinteger or nullOn a transfer leg, the id of the call it was transferred from
is_fallbackbooleantrue, false
tagobject or null{id, name}
stageobject or null{id, name}
leadobject or null

See Lead


{id, first_name, last_name, email, phone_number, company, category, source, crm_id, tags, notes, comments}

userobject or null

See User


{name, phone_number, custom_id, fub_id, email}

numberobject or null

See Phone Number


{name, phone_number}

lead_attemptintegerWhich step of the lead's sequence this call was, counting from 1. It isn't the lead's total number of calls.
agent_attemptintegerNumber of time the agent was called
recording_urlstring

Example:

https://cdn.callingly.com/recordings/xyz.mp3

transcriptstring
summarystring or nullAI summary of the conversation. Only generated for answered calls of 60 seconds or more.
ai_agentobject or null{id, name} of the AI agent. Set only on AI calls, so use it to tell an AI call from a rep's call.
ai_outcomestring or nullWhat the AI agent did on the call, e.g. transfer_success, call_scheduled, voicemail
response_timeintegerTime in seconds
secondsinteger
datedate string

MMM DD, YYYY


Example:

Dec 25, 1975

timetime string

HH:MM:SS


Example:

14:15:16

datetimeISO8601 string

YYYY-MM-DDTHH:MM:SS+TZ


Example:

2019-02-01T03:45:27+00:00


Lead

FieldTypeDescription
idinteger
first_namestring
last_namestring
emailstring
phone_numberstring
companystring
categorystring
sourcestring
crm_idinteger or null
tagsarray[{id, name}]
notesarray["Note text"]
commentsstring

User

FieldTypeDescription
namestring
phone_numberstring
custom_idinteger or null
fub_idinteger or nullFollow Up Boss Id
emailstring

Phone Number

FieldTypeDescription
namestring
phone_numberstring

Was this article helpful?

Still need help?

Send us a message and our support team will get back to you.

Contact support

View as Markdown