CreatePush

CreatePush API is used to create MobilePush templates.

poolId is a pre-configured parameter in the admin panel. You can get this parameter's possible values by calling the configuration/sendParams API.

Body Params

Request body contains all the details of the template is about to be created.

integer

An api user can be authorized to multiple accounts. If the user which is used to access this api method, have access to multiple accounts, this parameter must be set.

In other words, if this user have only access to a single account, this parameter is optional.

string
required

Name of the push template to easily identify when using admin panel.

string

Template mode, with CUSTOM you can user your own sdk with defined content areas.

string
required

This is the JSON message body of push message. You can set different json body for each mobile push provider. (ios, android, huawei)

string

This fields contains JSON data for preview.

string

This field is used to set Id which is going to be used to select this template via other api methods. It's optional and if not set, a random unique GUID value will be set and returned.

string

This fields contains comma-seperated(CSV) format data for preview.

integer
required

This field is used to set which IP pool is going to be used for Push delivery.

Headers
string
required

The access token from Login function

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Please login again to get new token.

403

Please login again to get new token.

500
Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
BAD REQUEST 1
BAD REQUEST 2
BAD REQUEST 3
BAD REQUEST 4