This API updates the status of campaigns to stop, pause, or resume them. You can only change the status of campaigns created via the Create Campaign API (not dashboard-created campaigns).
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
For more information on authentication and getting your credentials, refer here.
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
Send campaign status change request with action and campaign IDs.
You can request to change the status of one or more campaigns.
A unique identifier for this status change request.
"status_change_12345"
The action to perform on the campaign(s).
STOP, PAUSE, RESUME Array of campaign IDs whose status you want to change.
Maximum: 10 campaign IDs per request
1 - 10 elements["camp_abc123", "camp_def456"]Campaign status changed successfully. No content returned.
For a successful 200 response, the API does not return any content.