Use this endpoint to send an SMS from your Flowroute phone number to another valid phone number. Visit Manage your DIDs to view all of your Flowroute numbers.
SMS Limitations
- You can only send an SMS from a phone number registered on your Flowroute account.
- You are allowed to send 5 SMS per second.
- Flowroute cannot guarantee delivery to any phone number not enabled for SMS.
- Smart quotes are known to cause errors. Please make sure to use neutral (vertical) quotes in your request.
Endpoint
POST /messagesRequest Parameters
Body Parameters
-
to
string requiredValid phone number that you're sending the message to. This number must be in 11-digit North American number format. e.g. 12065551234
-
from
string requiredFlowroute phone number that you're sending the message from. This must be a number that you own in your Flowroute account in 11-digit North American number format. e.g. 12061231234
-
body
string requiredThe content of the message to deliver. Depending on the length of your message, it may be broken into multiple fragments which will be reassembled on the receiver's handset. See Message Length & Concatenation for specific information.
-
dlr_callback
stringA callback URL that you can configure on a per message basis for delivery receipt updates. Upon sending your SMS, Flowroute will post the delivery receipts to the dlr_callback that you've set. To learn more, see Receive a DLR.
Note: this will override the global
sms_dlr_callback
if set.