Send a message using the SMS channel.
Overview
The Create message API allows you to send push notifications, emails, and SMS to your users. This guide is specific for SMS and MMS. See Push notification or Email to send to those channels.
Ensure your SMS setup is complete.
Review the Sending messages with the OneSignal API guide for details on how to structure your messages.
Trackable links
Add trackable links to your SMS contents
using liquid syntax in the format {{'your_url' | track_link}}
.
Example:
In this example, the liquid syntax block will be replaced with a trackable short link and display in the message as: 1sgnl.co/XXXX
.
See SMS trackable links for more details.
Headers
Your App API key with prefix Key
. See Keys & IDs.
Body
Response
200
The response is of type object
.
The response is of type object
.
The response is of type object
.