Templates in OneSignal are reusable blueprints for Push Notifications, Emails, and SMS messages. They help you save time, maintain consistent branding, and personalize communications at scale. Templates support Liquid syntax for advanced message personalization, so you can dynamically insert custom content for each user.

Templates can be created in the OneSignal Dashboard or programmatically using the Create Template API. They can be shared across multiple OneSignal apps with the Copy Template to Another App API, and email templates can also be imported via Email Template Forwarding.


Designing message

Templates support rich customization across channels. For design guidelines and message-specific parameters, refer to:

Use Liquid variables and conditional logic to personalize messages for each recipient.


Sending messages using templates

You can quickly send messages from any template in your Dashboard.

1

Navigate to templates

Go to Messages > Templates in your OneSignal Dashboard.

2

Start a new message from a template

Click the Options (three dots) next to your template and select New Message.

3

Customize and send

The message composer opens with the template’s content pre-filled. You can override message content, icons, buttons, or other fields before sending.

Create a message from a template in the Dashboard

Templates streamline your workflow and reduce the chance of manual errors.


Template stats

Every message sent using a template is tracked on the Templates page in your Dashboard. Performance metrics help evaluate and optimize each template’s effectiveness.

View template stats: sent, opened, and clicked

ColumnDetails
NameName of the template.
TypePush, Email, or SMS.
SentThe number of subscriptions in which this template was delivered. If you send once and target 793 subscriptions, it shows 793.
OpenedPush: Unique push opens.
Email: Total email opens.
SMS: Not applicable.
ClickedPush: Not applicable.
Email: Total clicks on links.
SMS: Not applicable.
CTR(Clicks / Delivered) x 100%

FAQ

Where is the template id?

Each template has a unique template_id (UUID). You can find it:

  • Using the View Templates API
  • In your OneSignal Dashboard under Messages > Templates:
    • Click Options > Copy Template ID.

Copy Template ID.

  • Or view the URL when looking at a specific template.

Template ID in the URL.

Can I duplicate templates across apps?

Yes!


Templates in OneSignal are reusable blueprints for Push Notifications, Emails, and SMS messages. They help you save time, maintain consistent branding, and personalize communications at scale. Templates support Liquid syntax for advanced message personalization, so you can dynamically insert custom content for each user.

Templates can be created in the OneSignal Dashboard or programmatically using the Create Template API. They can be shared across multiple OneSignal apps with the Copy Template to Another App API, and email templates can also be imported via Email Template Forwarding.


Designing message

Templates support rich customization across channels. For design guidelines and message-specific parameters, refer to:

Use Liquid variables and conditional logic to personalize messages for each recipient.


Sending messages using templates

You can quickly send messages from any template in your Dashboard.

1

Navigate to templates

Go to Messages > Templates in your OneSignal Dashboard.

2

Start a new message from a template

Click the Options (three dots) next to your template and select New Message.

3

Customize and send

The message composer opens with the template’s content pre-filled. You can override message content, icons, buttons, or other fields before sending.

Create a message from a template in the Dashboard

Templates streamline your workflow and reduce the chance of manual errors.


Template stats

Every message sent using a template is tracked on the Templates page in your Dashboard. Performance metrics help evaluate and optimize each template’s effectiveness.

View template stats: sent, opened, and clicked

ColumnDetails
NameName of the template.
TypePush, Email, or SMS.
SentThe number of subscriptions in which this template was delivered. If you send once and target 793 subscriptions, it shows 793.
OpenedPush: Unique push opens.
Email: Total email opens.
SMS: Not applicable.
ClickedPush: Not applicable.
Email: Total clicks on links.
SMS: Not applicable.
CTR(Clicks / Delivered) x 100%

FAQ

Where is the template id?

Each template has a unique template_id (UUID). You can find it:

  • Using the View Templates API
  • In your OneSignal Dashboard under Messages > Templates:
    • Click Options > Copy Template ID.

Copy Template ID.

  • Or view the URL when looking at a specific template.

Template ID in the URL.

Can I duplicate templates across apps?

Yes!