Skip to main content
POST
Pauses or stops several campaigns at once, for example every campaign that uses a domain with a deliverability problem. Each campaign goes through the same checks as Update Campaign Status, one after another, and the reply says which ones changed and which did not. This endpoint only stops sending. To start (resume) or archive a campaign, use Update Campaign Status for each campaign.
With a client API key, only that client’s campaigns change. Any other campaign ID is reported in failed as Campaign not found - Invalid campaign_id., the same as the one-campaign endpoint.

Query Parameters

string
required
Your SmartLead API key

Request Body

array
required
Campaign IDs (positive integers, no duplicates). 1 to 100 IDs.
string
required
PAUSED to pause, STOPPED to stop. Any other value returns 400 and changes nothing.

Response Codes

Success
Every campaign was tried. updated lists the IDs that changed; failed lists the others with the status code and error the one-campaign endpoint gives. ok is true only when failed is empty, so check failed before treating the request as done.
Bad Request
status is not PAUSED or STOPPED; campaign_ids is missing, empty, longer than 100, has duplicates or values that are not positive integers; or the body has other keys
Unauthorized
Invalid or missing API key