Create Push Template
Creates a new push notification template for one or more platforms (Android, iOS).
Rate Limit: 100 RPM (Requests Per Minute).
FAQs
- Can I create a template that is supported only on iOS? Yes, you can send only the iOS payload if you want to create a template for iOS.
- What are the different types of image, video, and audio files supported by MoEngage?
- Audio and video file formats - all types of video and audio file formats supported by standard FCM/APNS platforms
- Images- the following formats are supported: “image/png”, “image/jpeg”, “image/jpg”, “image/gif”
- Can I create multiple templates with the same name? Yes, you can create multiple templates with the same name, provided they have different versions.
Authorizations
HTTP Basic Authentication using your Workspace ID as the username and API Key as the password.
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"