Update In-app Template
This API updates an In-app template as per your requirements.
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
The updated details for the In-app template.
The external template ID needs to be updated. This field contains the unique identifier that is generated during the creation of the template.
Details about the template, including its payload and template type.
This field will update template information, such as the name of the template and the update's details.
This field contains a flag used to update all campaigns currently using the template to the newer version. When true, all running campaigns with this template will be updated. When false, no change will be made to the template used in existing campaigns.
Response
Template updated successfully.
This field contains the unique ID corresponding to a successful custom template update. This template ID is used as header input for updates, searches, or any kind of template modifications in a later stage.
"4a1afbc5-4c31-4f19-8c23-793e27af01aa"