GET /v1/external/campaigns/{agent_id}/{campaign_id}/calls
Changed onLists calls/recipients created for a campaign. Use this lightweight response to track call statuses. Use Get call details for the full call record.
Request
- Base URLhttps://api.samora.ai
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
agent_idstring uuid required
The UUID of the AI agent that owns the campaign.
campaign_idstring uuid required
The UUID of the campaign.
Query parameters
pageinteger
page_sizeinteger
searchstring
Search by recipient phone number.
statusstring
Filter by call status.
duration_mininteger
Minimum call duration in seconds.
duration_maxinteger
Maximum call duration in seconds.
sort_by'participant_id' | 'status' | 'created_at' | 'updated_at' | 'started_at' | 'ended_at' | 'duration'
sort_dir'asc' | 'desc'
Response
Campaign calls fetched successfully
Changes
- info
added the required property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status
- info
- info
endpoint added
- info