Update existing OneSignal message templates for push, email, or SMS. Changes apply immediately across dashboard and API usage via the template_id
reference.
template_id
.
Templates are updated using the same structure as when creating templates.
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
contents
property with the en
(English) key.isAndroid: true
disables iOS and Web). See Target Specific Platforms.isEmail: true
email_subject
and email_body
isSMS: true
Your App API key with prefix Key
. See Keys & IDs.
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
200
The response is of type object
.