This API updates an existing Push or Email campaign in MoEngage. You can only update campaigns created via the API, not campaigns created through the MoEngage dashboard.
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).
The unique ID of the campaign to update.
You can fetch the campaign ID using the Get Campaign Details API by filtering with campaign name, channel, or other criteria.
In this payload, you can include the fields you want to update.
Notes:
A unique identifier for this campaign update request.
"push_update_12345"
The email ID of the user updating this campaign.
The communication channel (automatically set to PUSH for this tab).
PUSH Contains the basic information about the Push campaign.
Trigger condition details for Push event-triggered campaigns.
Required for EVENT_TRIGGERED campaigns.
Contains the content and variations for the Push campaign.
Defines the target audience for the campaign.
Defines when the campaign should be sent.
Controls for Push campaign delivery behavior.
Advanced campaign settings.
Configuration for tracking campaign conversion goals.
Configuration for control groups.
UTM parameters for tracking campaign performance.
Campaign updated successfully. The server successfully processed the request but is not returning any content.