Build compliant SMS opt-in forms and collect phone numbers for marketing.
200
- success, a subscription record has been created202
- subscription record was already createdLog-in Collection Opt-in
Coupon Code Promotional Opt-in
Promotional Double Opt-in
Send Message Prompt
templateSend Message Prompt
and select a templatePromotional Text-to-Subscribe
sms:+123456789
parameter specifies that it’s an SMS link and includes the phone number.
?&body=
parameter is used to include a pre-filled message.
%20
is used for spaces%25
is used for the percent symbol (%)%5B
and %5D
are used for square brackets [
and ]
%3A
is used for the colon :
Promotional Text to Subscribe via Advertisement
Send Message Prompt
setting by navigating to SMS Settings > Consent Management. This will automatically send the template selected to all new SMS subscriptions created through the API or SDKs. Subscriptions added via the CSV Importer will not receive a message prompt.
The send message prompt will send from your default Sender Identity. It’s recommended to use a Messaging Service that you have set up for transactional sending to ensure that these messages are sent in a timely manner.
Y
or Subscribe
.
Keywords can be any alpha-numeric value. All incoming messages will be checked for keywords, if the message has many words, we check the first word, last word, and any words between parentheses, e.g. (summer sale)
.
Requirement: Ensure that you have set up your SMS replies to automatically sync to OneSignal.
Send Message Prompt
by setting the API parameter send_double_opt_in_prompt
to false
.