Twilio SMS
Your app makes the code. MonoChat texts it.
Your app or website creates the one-time code and posts it, with the phone number, to a MonoChat flow. The flow sends it by SMS from your registered Sender ID, through your own Twilio account.
739204 is your Saffron Souq sign-in code. It expires in 5 minutes. Never share it, not even with our staff.
21:14
615830 is your new Saffron Souq sign-in code. The previous code no longer works.
21:16
A sign-in code, then a fresh one after the customer asked again
What you get
-
Your name on the code
Customers see your registered Sender ID as the sender, not an unknown number.
-
Started by your system
A Webhook Received node gives the flow its own URL. Your app sends the phone number and the code there, and the flow runs for that customer on your SMS channel.
-
The code in the text
Save the code with Save Flow Variable and write it into Send Message as {{flow.code}}, next to your brand name and the expiry time.
-
Only your app can call it
Turn on Require Secret and MonoChat rejects any request that carries neither your secret nor a valid HMAC-SHA256 signature.
-
Your login logic stays put
Your app creates the code, sets its expiry and checks what the customer types. MonoChat delivers the message.
-
Test before launch
Add /test to the webhook URL to see exactly what your app sends, with its body and headers, without starting the flow.
Set it up in MonoChat
-
Register the Sender ID
Register your alphanumeric Sender ID in the Twilio Console under Trust Hub › Alphanumeric Sender ID registration. Twilio says this takes about two weeks.
-
Connect it to MonoChat
In Settings › Chat › Channels, click Connect, pick SMS, then Twilio SMS. Choose Alphanumeric Sender ID in Sender type and enter your Twilio details.
-
Build the flow
In Settings › Automation › Flows, start with a Webhook Received node on your SMS channel, save the code as a flow variable and add Send Message.
-
Call it from your app
Activate the flow and have your app post the phone number and the code to the node’s Webhook URL, with the secret.
In the UAE
Register before launch day
Carriers in the UAE deliver SMS only from a Sender ID registered with Twilio, and Twilio puts registration at about two weeks. Start it before the app that needs codes goes live. A clinic or any other health-related sender also needs an approval letter from the UAE health authorities, according to Twilio.
FAQ
Frequently asked questions
Short answers to the questions we hear most.
Does MonoChat create or check the code?
No. Your app generates the code, decides how long it lasts and checks what the customer enters. MonoChat sends the message.
Can customers reply to the code?
No. A Sender ID is send-only, so leave instructions such as “reply NO” out of the text and point customers to your app or your WhatsApp for help.
What does my app send?
A GET or POST request to the node’s Webhook URL with the phone number, read by default from request.body.phone, and the code. MonoChat answers 202 once the flow is queued.
How long should the message be?
Short. Twilio bills per segment: 160 standard characters, or 70 once the text has Arabic letters or emoji. Put the code first and keep the rest brief.
First month of Growth on us
Bring every customer conversation into one place.
Connect your first channel in minutes. Basic is free for 1,000 outgoing messages a month.
One code per business • 30 days to redeem • No card needed