Retrieve the details of a specific message template in your OneSignal app using its template ID. This API returns the template content, target channel, and timestamps for creation and last update.
template_id
(path param): The unique ID of the template.app_id
(query param): Your OneSignal App ID.template_id
is a UUID that uniquely identifies the template.
You can find it in the following ways:
Copy Template ID
Template ID in the URL
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
200
The response is of type object
.