patch https://api.getblueshift.com/api/v1/campaigns//pause
Use this endpoint to pause an active campaign. Only campaigns that are currently being executed can be paused. Archived and completed campaigns cannot be paused.
Pause campaign
Use this endpoint to programmatically pause an existing campaign. This endpoint enables marketers to halt campaigns based on specific statuses and predefined conditions.
Consider the following points before using the API:
- Campaign status:
- Campaigns with a status of
archived
orcompleted
cannot be paused.
- Campaigns with a status of
Note
You can find the campaign_uuid (campaign ID) in the campaign editor's URL.
Try it out:
- Add the user API key as the username and leave the password field blank.
- Select your base URL and API endpoint URL for the appropriate Blueshift region.
- Click Try It.
You can also try the API using Blueshift's API collection in Postman.