Create Push Template
This API creates a new push notification template for one or more platforms (Android, iOS).
Rate Limit
The rate limit is 100 RPM (Requests Per Minute).Authorizations
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). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
- Password: Use your API Key, which you can find within the Campaign report/Business events/Custom templates/Catalog API/Inform Report tile.
For more information on authentication and getting your credentials, refer here.
Body
A JSON object containing the template definitions for desired platforms and metadata.
This field contains information about the template being created, such as the name, version, and id of the template, the template's platform, style, and the creator's details.
This field contains the definition of the template for the Android platform.
This field contains the definition of the template for the iOS platform.
Response
This response is returned when the request is processed successfully.
This field contains the unique template id corresponding to a successful template creation request and needs to be stored by you. This template id would be used for searching a specific template and updating it.
"d05a44f0-a7cf-471a-bcb6-63054800a367"