curl --request POST \
--url https://api-{dc}.moengage.com/core-services/v1/campaigns/meta \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'MOE-APPKEY: <moe-appkey>' \
--data '
{
"request_id": "meta_req_12345",
"campaign_fields": {
"channels": [
"EMAIL"
]
},
"limit": 15,
"page": 1
}
'
[
{
"campaign_id": "camp_email_123",
"channel": "EMAIL",
"platform": [],
"created_by": "[email protected]",
"campaign_delivery_type": "ONE_TIME",
"campaign_name": "Weekly Newsletter",
"campaign_team": "Marketing",
"campaign_tags": [
"newsletter",
"weekly"
],
"campaign_status": "Active",
"campaign_start_time": "2024-11-18T05:50:00"
}
]
Get Campaign Meta (V1 — Legacy)
This API retrieves campaign details and reachability information for scheduled campaigns.
POST
/
campaigns
/
meta
curl --request POST \
--url https://api-{dc}.moengage.com/core-services/v1/campaigns/meta \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'MOE-APPKEY: <moe-appkey>' \
--data '
{
"request_id": "meta_req_12345",
"campaign_fields": {
"channels": [
"EMAIL"
]
},
"limit": 15,
"page": 1
}
'
[
{
"campaign_id": "camp_email_123",
"channel": "EMAIL",
"platform": [],
"created_by": "[email protected]",
"campaign_delivery_type": "ONE_TIME",
"campaign_name": "Weekly Newsletter",
"campaign_team": "Marketing",
"campaign_tags": [
"newsletter",
"weekly"
],
"campaign_status": "Active",
"campaign_start_time": "2024-11-18T05:50:00"
}
]
This API is available on request and isn’t enabled by default. To enable it for your workspace, contact your Customer Success Manager or raise a support ticket.
V1 endpointThis page documents the V1 Get Campaign Meta endpoint. The V5 equivalent is available at Get Campaign Meta (V5). Both V1 and V5 use Basic Auth with a
MOE-APPKEY header.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.
Rate Limits
| Rate Limit Name | Rate Limit |
|---|---|
| get campaign meta per second | The total number of get campaign meta requests per Second per client allowed is 10. |
| get campaign meta per minute | The total number of get campaign meta requests per minute per client allowed is 100. |
| get campaign meta per hour | The total number of get campaign meta requests per hour per client allowed is 6000. |
Notes
- Breaching the limits will reject the request.
- Per hour and per day limits will consider the calculation based on the last hour and last 24 hrs respectively.
承認
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.
ヘッダー
ボディ
application/json
Provide the search criteria for retrieving campaign metadata and reachability information.
レスポンス
Successfully retrieved campaign metadata
The current status of the campaign.
RETIRED is a terminal status applied automatically to campaigns that have reached their end condition. Retired campaigns cannot be reactivated and are distinct from STOPPED (manually halted) and ARCHIVED (explicitly archived).
利用可能なオプション:
SCHEDULED, ACTIVE, PAUSED, SENT, STOPPED, RETIRED, ARCHIVED