Get voice call
Retrieve a single voice call, including its full transcript once the conversation has produced turns.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
callIdstringrequiredVoice call ID.
Responses
200Voice call details.
callobjectrequired15 properties
idstringrequireddirectionstringrequiredWhether the call was placed by Zavu (outbound) or received from a caller (inbound).
One ofinboundoutboundfromstringrequiredCaller phone number in E.164 format. Your sender's number for outbound calls; the caller's number for inbound calls.
tostringrequiredCallee phone number in E.164 format.
statusstringrequiredLifecycle status of a voice call. -
queued: outbound call created, not yet dialing. -ringing: dialing (outbound) or received and ringing (inbound). -in_progress: answered, the agent is connected. -completed: ended after a conversation. -failed: could not be completed. -busy: the line was busy. -no_answer: rang but was not answered. -canceled: canceled before it was answered.One ofqueuedringingin_progresscompletedfailedbusyno_answercanceledendReasonstringWhy the call ended (e.g.
agent_ended,max_duration,transfer,hangup). Present once the call is no longer active.answeredAtstring<date-time>When the call was answered.
endedAtstring<date-time>When the call ended.
durationSecondsintegerBillable talk time in seconds, measured from answer to hangup.
turnCountintegerNumber of conversation turns exchanged during the call.
transcriptobject[]Ordered transcript of the call. Included when retrieving a single call; omitted from list responses.
5 properties
seqintegerrequiredOrdinal position of the turn within the call, starting at 0.
rolestringrequiredWho produced the turn.
toolrecords a tool call the agent made during the conversation.One ofuserassistanttooltextstringrequiredTranscribed speech for
userandassistantturns, or a JSON summary of the tool call fortoolturns.startedAtstring<date-time>When the turn started.
endedAtstring<date-time>When the turn ended.
costnumberTotal cost of the call in USD, combining the managed voice pipeline per-minute charge, telephony, and, on an agent that runs a premium model, that model's tokens. Available once the call has ended. Tokens are charged between 30 minutes and 24 hours after the call ends, so the figure can grow until then.
metadataobjectArbitrary metadata you attached when creating the call.
1 properties
{key}string
createdAtstring<date-time>requiredupdatedAtstring<date-time>
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Call not found.
codestringrequiredmessagestringrequireddetailsobject