List calls
Changed onRetrieves a paginated list of your calls, most recent first. Filter by direction, status, the owning number, the mode (inapp, or agent for calls your voice agents answered), the agent that answered, and the time the call started (from and to are inclusive). Each call carries the phone number it was connected to, the caller id it showed, and the billed legs with what each cost. Use the call webhooks for real-time updates; this list is for looking calls up afterwards.
Request
- Base URLhttps://api.sent.dm
- URLhttps://api.sent.dm/v3/voice/calls
- Auth
- API key in header x-api-key
- or HTTP bearer
Query parameters
Page number (1-indexed)
Number of items per page
Optional direction filter: outbound for calls placed from your app, inbound for calls to one of your numbers
Optional status filter: initiated, ringing, answered, completed, failed, no_answer or rejected
Optional filter on the number that owns the call, one of your voice-enabled numbers in E.164 format
Optional mode filter: inapp for calls routed by your number's callback URL, agent for calls one of your voice agents answered
Optional filter on the voice agent that answered the call, such as agent_9f2ab000-0000-4000-8000-000000000001
Only calls started at or after this time (ISO 8601)
Only calls started at or before this time (ISO 8601)
Headers
Profile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.
Response
Calls retrieved successfully
Changes
- info
added the new optional
queryrequest parameteragent_id - info
added the new optional
queryrequest parametermode - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status
- info
- info
endpoint added
- info