Create Campaigns
Create Campaign
This API creates a new Push or Email campaign in MoEngage with specified content, audience, and delivery settings.
post/campaigns
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).
MOE-PROJECT-CODEstring
This is the project ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > Portfolio > Project ID. Note: This parameter is mandatory for workspaces with the Portfolio feature enabled.
Request body
Response
Campaign created successfully
Example response
{
"campaign_id": "camp_12345abc"
}Changes
No recorded changes to this operation across all 1 revision of this API.