This API allows you to update an OSM template as per your requirements.
The API request is authenticated through Basic Authentication. This sends a Base64-encoded string containing your username and password with every API request.
It encodes a username:password string in Base64 and appends the encoded string with Basic . This string is included in the authorization header:
{"Authorization: "Basic Base64_ENCODED_WORKSPACEID_APIKEY=="}
Follow these steps to obtain the username and password from the MoEngage Dashboard:
The updated details for the OSM template.
The unique identifier generated by MoEngage during template creation.
Details about the template payload.
Updates template information such as name, version, and updater details.
Flag to update all campaigns currently using this template to the newer version.
true: All campaigns running with this template will be updated.false: A new version of the template is created; existing campaigns remain unchanged.Template updated successfully.
The unique ID of the updated template.