List Calls
GET
https://api.anunzi.net/v2/calls
Retrieve a paginated list of phone calls handled by an AI assistant.
⚠️ Important: The model_id
parameter is mandatory to ensure that only calls associated with a specific assistant are retrieved.
Query Parameters
model_id
string
Yes
The calls for the specified assistant model ID will be returned.
limit
int32
No
Number of calls displayed per page (default: 20
).
offset
string
No
Starting point for listing calls (default: 0
).
Example Request (cURL)
Example Response (200 OK)
Response Fields
call_id
string
Unique identifier for the call.
model_id
string
ID of the assistant handling the call.
campaign_type
string
Type of call (e.g., "Inbound", "Outbound", "Test").
phone_number_from
string
The caller's phone number.
phone_number_to
string
The number that was dialed.
name
string
Name of the person called (if available).
transcript
string
The full conversation transcript between the assistant and the user.
duration
int
Duration of the call in seconds.
recording_url
string
URL to access the audio recording of the call (if recording was enabled).
end_call_reason
string
Reason why the call ended.
Status Codes
200
Calls retrieved successfully.
400
Bad Request. Missing model_id
or other parameters.
Última actualización
¿Te fue útil?