Endpoint

POST /messages

Request Parameters

Body Parameters

  • to
    string required

    Valid 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 required

    Flowroute 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 required

    The 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. SeeMessage Length & Concatenation for specific information.

  • dlr_route
    string

    A callback URL that you can configure for status updates on a per message basis.

Response Format

On success, the HTTP status code in the response header is 202 Accepted 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.