GET /v1/external/campaigns/{agent_id}
Changed onLists outbound campaigns for the specified agent.
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.
Query parameters
pageinteger
page_sizeinteger
searchstring
Search by campaign name.
statusCampaign Status[]
Filter by campaign status. Repeat the query parameter for multiple statuses.
sort_bystring
sort_dir'asc' | 'desc'
Response
Campaigns fetched successfully
Example response
{
"data": {
"campaigns": [
{
"retry_config": {
"max_retries": 2,
"retry_delay_minutes": 30,
"retry_on": [
"UNANSWERED",
"REJECTED",
"VOICEMAIL"
]
}
}
]
}
}Changes
- warning
for the
queryrequest parameterpage_size, the max was set to100.00
- warning
- warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from 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
- warning