This API fetches a list of Push, Email, or SMS campaigns with all current fields and status. You can pass multiple filters to find specific 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).
Provide the search criteria and pagination parameters for finding campaigns.
A unique identifier for this search request.
"search_req_12345"
The number of campaigns to display per page.
Maximum: 15
1 <= x <= 1510
The page number to retrieve.
For example, if there are 200 campaigns and the limit is 10, there will be 20 pages.
x >= 11
Filter criteria for searching campaigns.
Whether to include child campaigns (flow nodes and periodic children).
Set to true to fetch details of periodic child campaigns and flow campaign nodes. Flow campaigns can be identified by the presence of flow_id and flow_name in the response.
Whether to include archived campaigns in the results.
Successfully retrieved campaign list
The unique ID of the campaign.
"camp_abc123xyz"
The current status of the campaign.
ACTIVE, SCHEDULED, PAUSED, SENT, STOPPED, ARCHIVED The communication channel.
PUSH, EMAIL, SMS The delivery type of the campaign.
ONE_TIME, PERIODIC, EVENT_TRIGGERED, BUSINESS_EVENT_TRIGGERED, DEVICE_TRIGGERED, LOCATION_TRIGGERED, BROADCAST_LIVE_ACTIVITY The email ID of the user who created the campaign.
The email ID of the user who last updated the campaign.
The timestamp when the campaign was created.
"2024-07-04 08:00:54.847000"
The timestamp when the campaign was last updated.
The timestamp when the campaign was sent.
"2024-07-04 20:32:00"
The flow ID (only for flow campaigns).
Only applicable when include_child_campaigns is true.
The flow name (only for flow campaigns).
Only applicable when include_child_campaigns is true.
The campaign ID of the parent campaign.
Only applicable for periodic child campaigns when include_child_campaigns is true.
Basic details of the campaign.
Structure varies by channel (Push/Email/SMS).
The campaign content including locales and variations.
Trigger condition details for event-triggered campaigns. Structure varies by channel (Push supports INTELLIGENT_DELAY, Email does not).
Defines the target audience for the campaign.
Defines when the campaign should be sent.
Delivery control settings for the campaign.
Advanced campaign settings (for Push campaigns).
Configuration for tracking campaign conversion goals.
Configuration for control groups.
UTM parameters for tracking campaign performance.
Connector configuration (for Email and SMS campaigns).
The sender name configured for the campaign.
Only applicable for SMS campaigns.
Configuration for limiting campaign audience.