Get Campaign Details
Search Campaigns
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.
post/campaigns/search
Request
- Base URLhttps://api-01.moengage.com/core-services/v1
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
MOE-APPKEYstring required
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).
Request body
Example request
{
"request_id": "search_req_12345",
"campaign_fields": {
"channels": [
"PUSH",
"EMAIL"
],
"created_by": [
"john.doe@example.com"
],
"created_date": {
"from_date": "2024-01-01",
"to_date": "2024-12-31"
},
"delivery_type": [
"ONE_TIME",
"PERIODIC"
],
"id": "camp_abc123xyz",
"name": "Summer Sale Campaign",
"status": [
"ACTIVE",
"SCHEDULED"
],
"tags": [
"sale",
"promotion"
]
},
"limit": 10,
"page": 1
}Response
Successfully retrieved campaign list
Example response
[
{
"campaign_id": "camp_abc123xyz",
"created_at": "2024-07-04 08:00:54.847000",
"sent_time": "2024-07-04 20:32:00",
"scheduling_details": {
"bts_details": {
"window_end_time": "6:43 am"
}
},
"conversion_goal_details": {
"attribution_window_in_hours": 36,
"goals": [
{
"goal_name": "Goal 1"
}
]
},
"utm_params": {
"utm_source": "google",
"utm_medium": "email",
"utm_campaign": "summer_sale"
},
"connector": {
"connector_type": "SENDGRID",
"connector_name": "default"
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.