This API creates a new On-Site Messaging (OSM) template. You can use this API to upload templates created outside the MoEngage ecosystem to MoEngage and use them for campaign creation.
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
For more information on authentication and getting your credentials, refer here.
The details of the OSM template to be created.
Template created successfully.
The unique ID assigned to the newly created template by MoEngage. This ID is used for subsequent updates or searches.