Lets you assign a callback URL for POST notifications of inbound SMS or MMS messages to your Flowroute long code or toll-free phone number, or delivery receipts (DLRs) of messages that you have sent from your Flowroute long code or toll-free number.
Callback Service beta
- Make sure to assign a publicly accessible URL for your callback service.
- You can enable the DLR (Delivery Receipt) Callback Service for outgoing SMS and MMS messages from your Flowroute long code or toll-free phone number.
Endpoint
PUT /messages/{callback_type}Request Parameters
Path Parameter
-
callback_type
string requiredCallback type to be associated with the account. Possible values are sms_dlr_callback and mms_dlr_callback
The old type of dlr_callback has been deprecated but still supported for SMS DLRs.
Body Parameter
-
callback_url
string requiredThe callback URL for your specified callback type. For example, if you specify sms_callback as a path parameter, the value that you set this field to will be the URL associated with the inbound SMS callback service for your Flowroute account. To learn more about Flowroute's SMS callback service, see Receive an SMS.