Get a Call

Read one call of your organization: status, parties, timings, recording, transcript, disposition and AI summary.

GET /v1/call/{callId} returns one call of your organization: its status, parties, timings, a downloadable recording link, the transcript, the disposition and the AI summary. It is the one read for every call: AI calls and team-member calls, on PSTN and WhatsApp.

Use it to fetch a call after a webhook tells you it ended, or to copy each call's recording into your own storage.

Endpoint

GET https://public.doubletick.io/v1/call/{callId}
  • Base URL: https://public.doubletick.io
  • Method and path: GET /v1/call/{callId}
  • callId: the id returned when the call was created, or the callId in any call webhook.

Authentication

HeaderValue
Authorization<your-api-key>
  • Send your API key in the Authorization header, as is, with no "Bearer" prefix. The x-public-api-key header also works.
  • The key acts as the user it belongs to. That user must be allowed to view call logs for the number the call was on (all call logs, or their own calls), the same rule as the Call Logs screen in DoubleTick.
  • A WhatsApp call also needs your organization's WhatsApp calling licence or add-on. A PSTN call needs nothing more.

📘

NOTE

If you do not have your DoubleTick API Key, you can obtain it by following this guide link.


Example Request

curl https://public.doubletick.io/v1/call/<callId> \
  -H 'Authorization: <your-api-key>'

Example Response

{
  "success": true,
  "message": "Call details",
  "data": {
    "callId": "a1b2c3d4-0000-0000-0000-000000000000",
    "chatId": "...",
    "chatMessageId": "...",
    "channel": "PSTN",
    "callChannel": "PSTN",
    "mode": null,
    "callDirection": "OUTGOING",
    "callStatus": "END",
    "triggeredVia": "API",
    "from": "<your number>",
    "to": "<customer number>",
    "customerName": "John Doe",
    "customerNumber": "<customer number>",
    "agentName": "Sales Agent",
    "agentNumber": "...",
    "durationInSeconds": 28,
    "callStartedAt": "2026-10-29T09:30:00.000Z",
    "callEndedAt": "2026-10-29T09:30:28.000Z",
    "recordingUrl": "https://...signed link...",
    "recordingStatus": "completed",
    "transcriptUrl": "https://...signed link...",
    "failedReason": "",
    "campaignId": "",
    "disposition": { ... },
    "aiSummary": {
      "status": "completed",
      "reason": null,
      "summary": { "recap": "...", "keyPoints": ["..."], "nextSteps": ["..."] }
    }
  }
}

The fields in data have the same names and values as the call webhooks you already receive, so one parser works for both. Every team-member call route (create, accept, decline, reconnect, end and the updates poll) answers with this same call object.


Response Fields

FieldWhat it holds
callIdThe call's id, the same one the webhooks carry.
chatId, chatMessageIdThe chat the call is logged in, and the call's message in that chat.
channelThe type of the channel the call is logged on, exactly as the webhooks send it (for example PSTN or WHATSAPP_CLOUD_API). For a plain WHATSAPP or PSTN, read callChannel.
callChannelWHATSAPP or PSTN (WEB_TEST for a test call from the browser).
modeVOIP or DIRECT on a team-member call; null on any other call.
ringExpiresAtWhen an incoming WhatsApp call stops ringing, while it may still be accepted; null otherwise.
channelNumber, wabaNumberThe phone number the call used, and the WhatsApp Business number of that channel ("" when there is none).
callDirectionINCOMING or OUTGOING.
callStatusINITIATED, IN_PROGRESS, END, MISSED, REJECT or FAILED.
triggeredViaHow the call started: UI, API, CAMPAIGN or INBOUND.
from, toSet by direction. On an outgoing call, from is your number and to is the customer; on an incoming call, the reverse.
customerName, customerNumber, customerId, customerUserIdThe customer. customerUserId is the WhatsApp id of a caller WhatsApp shares without a phone number.
agentNameWho handled the call: the AI agent's name on an AI call, or the team member who picked up. On a rejected call, the team member who declined it. "" when nobody on your side acted, for example an outgoing call the customer declined.
agentNumber, pickedBy, rejectedBy, endedByPhone numbers of the team members involved, as in the webhooks.
durationInSecondsTalk time. 0 for a call that never connected, and while the call is still live.
callStartedAt, callEndedAtISO 8601 timestamps, filled a moment after the call ends.
recordingUrlA signed link to the recording, valid for 24 hours. "" until recordingStatus is completed. See Recordings below.
recordingStatusnull, pending, completed or unavailable. See Recordings below.
transcriptUrlA signed link to the call's transcript (JSON), valid for 24 hours. null when there is none.
failedReasonWhy a call failed, "" otherwise.
campaignIdThe campaign that placed the call, or "".
deviceIdThe device the call was taken on, when known.
dispositionThe post-call disposition values of an AI call once they are extracted; null before that and on calls without one.
aiSummaryThe AI summary of the call. See AI summary below.

📘

NOTE

Webhook-only fields are not returned: event, isNewCaller, isChatAssigned, declinedBy, sdp and sdpType.


Recordings

recordingStatusMeaningWhat to do
nullThe call never connected, so nothing was recorded.Nothing.
pendingThe call is live, or ended less than 65 minutes ago and its recording is still being processed.Call again later.
completedThe recording is ready; recordingUrl is filled.Download it.
unavailableNo recording exists: the call had no audio, or 65 minutes passed without one arriving.Stop retrying.
  • Links are signed fresh on every request and stay valid for 24 hours. They download without a DoubleTick login, so your server can fetch them directly.
  • Download the file within 24 hours. If a link has expired, call the API again for a new one.
  • PSTN recordings are WAV files.

AI Summary

"aiSummary": {
  "status": "completed" | "pending" | "unavailable",
  "reason": "...",
  "summary": { "recap": "...", "keyPoints": [...], "nextSteps": [...] } | null
}
  • completed: summary holds the recap, key points and next steps.
  • pending: the call is live or queued, or the summary is still being written. Ended calls leave pending on their own; it never stays pending indefinitely.
  • unavailable: there will be no summary. A call that never connected (missed, rejected, failed) is unavailable at once. reason is CALL_SUMMARY_DISABLED when summaries are turned off for your organization.
  • Reading a call never starts a summary.

Error Responses

Errors have the body { "status": ..., "reason": "...", "message": "..." }.

Status CodeWhen
401The API key is missing or wrong, or, for a WhatsApp call, your organization has no WhatsApp calling licence or add-on.
403"You do not have permission to view this call": the key's user may not view call logs for this call's number.
404"Call not found": no such call in your organization. A call of another organization, a deleted call and a malformed id all answer 404.
429Rate limit reached. Wait for the number of seconds in the Retry-After header.
503A link could not be signed in time. Retry in a few seconds.

Rate Limit

  • 300 requests a minute per organization, shared by all of your API keys.
  • Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. A 429 also carries Retry-After.

Recommended Flow for Copying Recordings

  1. Receive the CALL_ENDED webhook and take its callId.
  2. Call GET /v1/call/{callId}.
  3. If recordingStatus is completed, download recordingUrl (and transcriptUrl if you want it).
  4. If it is pending, try again after a few minutes, for up to about 65 minutes after the call ended.
  5. If it is null or unavailable, there is no recording to copy.

What’s Next

See every field the call carries, or place a new call.

Did this page help you?