Skip to main content
POST

Supported Channels

  • Email
  • Push
  • SMS
  • WhatsApp
  • Facebook
  • Google Ads
  • Connectors

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. Multiple API calls within the same day return the cached value.
  • May vary due to app installations/uninstalls or subscription changes.

Rate Limits

Notes
  • Breaching the limits will reject the request.
  • Per-hour and per-day limits use a rolling window of the last 1 hour and last 24 hours respectively.

承認

Authorization
string
header
必須

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). Find it in the MoEngage dashboard at Settings > Account > API keys.
  • Password: Use an API key from Settings > Account > API keys.

Refer to API Key Dashboard for details on creating and managing API keys.

ヘッダー

MOE-APPKEY
string

Your MoEngage Workspace ID (App ID). Optional — Basic Auth already carries the Workspace ID as the username, so this header is not required. Find it in the dashboard at Settings > Account > API keys.

X-MOE-Request-Id
string

Client-supplied trace ID for tracing. Correlates with response_id. Supply this header or request_id in the body; if both are set, they must match.

Idempotency-Key
string<uuid>
必須

UUID v4. Required on all POST and PATCH requests except POST /v5/campaigns/{campaign_id}/validate. Repeating the same key returns the same response body.

ボディ

application/json

Provide the search criteria for retrieving campaign metadata and reachability information.

limit
integer
必須

The number of campaigns to display per page.

Maximum: 15. The response does not include a total_count field - to determine the total number of results, keep paginating until a response returns fewer items than limit.

必須範囲: 1 <= x <= 15
例:

15

page
integer
必須

The page number to retrieve.

For example, if there are 200 campaigns and the limit is 10, there will be 20 pages.

必須範囲: x >= 1
例:

1

request_id
string

A unique identifier for this metadata retrieval request.

例:

"{{request_id}}"

campaign_fields
object

Filter criteria for retrieving campaign metadata.

include_child_campaigns
boolean
デフォルト:false

When true, returns child campaign metadata for periodic campaigns.

Activates the following response fields on each campaign object:

  • total_child_campaigns - number of child campaigns (present on the parent campaign).
  • parent_campaign_id - the parent campaign's ID (present on each child campaign).

Defaults to false.

レスポンス

Campaign meta rows

response_id
string
type
string
例:

"campaign"

data
object

The response does not include a total_count field. To determine whether you have reached the last page, check whether the number of items returned is less than the limit you requested. If campaigns contains fewer items than limit, you have retrieved all results.