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.
This endpoint returns metadata and content for a single template, including:
This is useful for inspecting existing templates before using or updating them.
Required parameters:
template_id
(path param): The unique ID of the template.app_id
(query param): Your OneSignal App ID.The 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
.
The response is of type object
.
The response is of type object
.
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.
This endpoint returns metadata and content for a single template, including:
This is useful for inspecting existing templates before using or updating them.
Required parameters:
template_id
(path param): The unique ID of the template.app_id
(query param): Your OneSignal App ID.The 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
.
The response is of type object
.
The response is of type object
.