Fetches a list of campaigns with all current fields and status. You can pass multiple filters to find specific campaigns.
Authentication is done via Basic Auth. The username is your Workspace ID (earlier APP ID) and the password is your API Key. The value is a base64 encoding of 'username:password'.
How to obtain credentials:
This is the workspace ID (earlier APP ID) of your MoEngage workspace.
You can find your MoEngage Workspace ID in the MoEngage Dashboard: Settings → Account → APIs → Workspace ID (earlier app id)
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.
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.