Get Campaign Meta
This API retrieves campaign details and reachability information for scheduled campaigns.
Supported Channels
- EMAIL: Email campaigns
- PUSH: Push notification campaigns
- SMS: SMS campaigns
- WHATSAPP: WhatsApp campaigns
- FACEBOOK: Facebook campaigns
- GOOGLE ADS: Google Ads campaigns
- CONNECTORS: Connector-based campaigns
Reachability Information
- Available only for scheduled campaigns (one-time, business event-triggered, and event-triggered).
- Provides estimated user count that will receive the campaign.
- Calculated once daily and cached for 24 hours.
- May vary due to app installations/uninstalls or subscription changes.
- Reachability is an estimated value and may vary over time. It is calculated once per day and cached for 24 hours. Multiple API calls within the same day will return the cached value.
Authorizations
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
- Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
- Password: Use your API Key, which you can find within the Campaign report/Business events/Custom templates/Catalog API/Inform Report tile.
For more information on authentication and getting your credentials, refer here.
Headers
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).
Body
Provide the search criteria for retrieving campaign metadata and reachability information.
A unique identifier for this metadata retrieval request.
"meta_req_12345"
The number of campaigns to display per page.
Maximum: 15
1 <= x <= 1515
The page number to retrieve.
For example, if there are 200 campaigns and limit is 10, there will be 20 pages.
x >= 11
Filter criteria for retrieving campaign metadata.
Whether to include child campaign information.
Set to true to fetch details of child campaigns (flow nodes and periodic children). Use flow_id, flow_name, or parent_campaign_id in the response to identify relationships.
Response
Successfully retrieved campaign metadata
The unique ID of the campaign.
"camp_abc123xyz"
The communication channel.
EMAIL, PUSH, SMS, WHATSAPP, FACEBOOK, GOOGLE ADS, CONNECTORS The platform types supported for the campaign (applicable for Push).
ANDROID, IOS, WEB The email ID of the user who created the campaign.
The delivery type of the campaign.
ONE_TIME, PERIODIC, EVENT_TRIGGERED, BUSINESS_TRIGGERED, DEVICE_TRIGGERED, LOCATION_TRIGGERED, BROADCAST_LIVE_ACTIVITY The name of the campaign.
"Summer Sale Campaign"
The team name associated with the campaign.
Tags associated with the campaign.
The current status of the campaign.
SCHEDULED, ACTIVE, PAUSED, SENT, STOPPED, RETIRED, ARCHIVED The start time of the campaign in ISO 8601 format.
"2024-11-28T12:18:00"
The campaign ID of the parent campaign.
Only shown if the requested campaign_id belongs to a child campaign and include_child_campaigns is true.
The number of child campaigns.
Only shown if the campaign_id belongs to a parent campaign. Only applicable for periodic campaigns.
Reachability information for the campaign.
Important: Only populated for scheduled campaigns (one-time, business event-triggered, and event-triggered). Reachability is calculated once daily and cached for 24 hours.