Create

Used to create an automated campaign or create a campaign to be dispatched immediately with the send API method.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Your App token

string
required

The title of your campaign

int32

The type of campaign to create. Parameter options:
0 - Scheduled campaign (default value)
1 - Geo / iBeacon triggered campaign
2 - Event triggered campaign
3 - Api triggered campaign

int32

The ID of the engagement category that you want to link to the campaign. A project's configuration may require this parameter to be set.

int32

The ID or IDs of the app or site that you want to target. This option needs to be enabled beforehand from Settings > Engagement rules and categories. See our segment tab guide for more details.

boolean

Enable email message channel. Default to 0 (off)

boolean

Enable sms message channel. Default to 0 (off)

boolean

Enable push message channel on Android. Default to 0 (off)

boolean

Enable push message channel on iOS. Default to 0 (off)

boolean

Enable push message channel for iOS production builds. Default to 0 (off)

boolean

Enable push message channel for iOS dev builds. Default to 0 (off)

boolean

Enable web push message channel. Default to 0 (off)

boolean

Enable web push messaging for Chrome and Opera. Default to 0 (off)

boolean

Enable web push messaging for Firefox. Default to 0 (off)

boolean

Enable web push messaging for Safari. Default to 0 (off)

boolean

Enable inbox message channel. Default to 0 (off)

string

Enable webhook message channel. Default to 0 (off)

int32

Only applicable — and required to be 1 or 2 — if your project has the encryption feature enabled, and the campaign has the android_push or ios_push channels enabled. Parameter options:
0 - Turned off (default value)
1 - Use where possible
2 - Enforce encryption
More info on encrypted push: https://docs.xtremepush.com/docs/encrypted-mobile-push

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json