curl --request POST \
--url https://api.bland.ai/v1/campaigns/{campaign_id}/stop \
--header 'authorization: <authorization>'
{
"status": "success",
"message": "Successfully stopped campaign",
"num_calls": 0,
"campaign_id": "0a810190-c000-aaaa-bbbb-16a4630cc190"
}
Stops a campaign and all associated calls.
curl --request POST \
--url https://api.bland.ai/v1/campaigns/{campaign_id}/stop \
--header 'authorization: <authorization>'
{
"status": "success",
"message": "Successfully stopped campaign",
"num_calls": 0,
"campaign_id": "0a810190-c000-aaaa-bbbb-16a4630cc190"
}
{
"status": "success",
"message": "Successfully stopped campaign",
"num_calls": 0,
"campaign_id": "0a810190-c000-aaaa-bbbb-16a4630cc190"
}
Was this page helpful?