Set the SMS Callback field in the Manage portal to configure a callback URL to receive a POST notification of inbound SMS messages to your Flowroute long code or toll-free phone number.
- 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.
Valid phone number that the SMS message is being sent from. This number must be in E.164 format. e.g. +12065551234
Flowroute local or toll-free number receiving the SMS message. This must be a number that you own in your Flowroute account in E.164 format. e.g. +12065551234
Optional, if media_url is specified. The plain-text content of the delivered message.
Direction of the message. This will always be inbound.
Type of the Flowroute phone number receiving the SMS message. This could either be longcode or toll-free.
This will always be false if you are receiving an SMS. This attribute is defined by the person sending the message. If not specified, then the message will be sent out as SMS if it is text-only. It will be sent as MMS if it has a media_urls value.
This will always be set to 0 for SMS. To learn more about message encoding, please refer to Message Length & Concatenation.
Cost of the message in USD.
The cost of the message in nanodollars. The displayed nanodollars amount is the USD amount_display value multiplied by 1,000,000,000 (one billion) for a corresponding whole number.
Date and time that the message was sent.
On success, the HTTP status code in the response header is 200 OK and the response body contains the messagerecord ID. On error, the header status code is an error code and the response body contains an error object.