Lets you assign a callback URL for POST notifications of inbound messages or delivery receipts (DLRs) of messages that you have sent from your Flowroute long code or toll-free number.
Callback Service
- Make sure to assign a publicly accessible URL for your callback service.
Endpoint
PUT /messages/{callback_type}Request Parameters
Path Parameter
-
callback_type
string requiredCallback type to be associated with the specified URL. Allowed values are:
- sms_callback
Called for inbound SMS messages (see Receive an SMS).
- mms_callback
Called for inbound MMS messages (see Receive an MMS).
- sms_dlr_callback
Called for SMS Delivery Receipts (see Receive a DLR).
- mms_dlr_callback
Called for inbound MMS Delivery Receipts (see Receive a DLR).
- sms_callback
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.