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
(UUID v4). You can find it:
Copy Template ID
contents
property must use the en
(English) key along with other languages you want to support.isAndroid: true
disables iOS and Web).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
.