The following describes how messages are transmitted using Flowroute and received at your callback URL. Flowroute transmits messages to your phone number using HTTP to a callback URL you specify. Inbound messages are formatted using the SMS format. To see this article and more check out our developer site.
Before you begin you must have the following:
1. A Flowroute phone number added to the Direct Inward Dialing DIDS > Manage page on the Flowroute portal
2. A web application server with a public IP or URL.
The callback URL must be a web resource with a public IP address configured to handle JSON, as shown in the example below.
1. Set the callback URL
2. Receive an inbound message
Example of an inbound message request:
3. Respond to the HTTP request
When you receive an inbound message, you must respond with a 200 OK response. If you do not send a 200 OK, an attempt is made to resend the message a total of four (4) times at 30-second intervals.