Update Push Template
This API updates an existing push notification template by creating a new version.
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 ID to update, the updated platform payloads, and new metadata.
This field contains the unique identifier that is generated during the creation of the template.
This field contains information about the template being updated, such as the name, the template's platform, style, and the details of the user updating the template.
This field contains a flag that is used to update all the campaigns that are currently using the template being updated to the newer version(that is being updated in this request). The default value for this flag is false.
When the update_campaigns flag is true, all the campaigns running with this template will get updated to the latest version of the template, and when it is false, the new version of the template will be created, but there will be no change made to the template used in the existing campaigns.
This field contains the updated definition of the template for the Android platform.
This field contains the updated 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 updation request.
"eca024b7-a8ea-4f31-9154-5b80c85d18a9"