Skip to main content

Overview

The Call API provides endpoints for retrieving and managing call logs within your organizations. These endpoints can be accessed using either a tenant-specific API key or an organization-specific API key. In both cases, you must provide the organization ID in your request.

Available Endpoints

Authentication

All Call API endpoints require authentication using either a tenant-specific API key or an organization-specific API key in the format:
Authorization: Bearer YOUR-API-KEY

Important Notes

  • Tenant API Key: Provides access to call logs across all organizations under the tenant, but you must still specify the organization ID in each request
  • Organization API Key: Only provides access to call logs for the specific organization that the key belongs to, and you must still include the organization ID in the request
Regardless of which API key you use, the organization ID must be provided as a query parameter (for List Calls) or in the URL path (for Get Call). For more information on authentication, see the Authentication guide.

Data Structures

Call Object

FieldTypeDescription
idstringUnique identifier for the call
organizationIdstringOrganization ID the call belongs to
callTypestringType of call: “Inbound”, “Outbound”, or “Web”
agentIdstringID of the agent/assistant that handled the call
agentNamestringName of the agent/assistant
phoneNumberstringPhone number associated with the call
callStartedAtstring (datetime)Timestamp when the call started
callEndedAtstring (datetime)Timestamp when the call ended
callDurationSecondsstringDuration of the call in seconds
callEndedReasonstringReason the call ended
userNamestringName of the user/patient (if available)
userPhoneNumberstringPhone number of the user (if available)
userPrimaryIntentstringPrimary intent detected from the call
userSentimentstringDetected sentiment of the user during the call
callSummarystringAI-generated summary of the call (if available)
transcriptUrlstringURL to access the full transcript
recordingUrlstringURL to the call recording (if available)
createdAtstring (datetime)When the call record was created