Lets you retrieve the callback information for your inbound SMS, inbound MMS, or outbound delivery receipt (DLR) callback service.
- Make sure to assign a publicly accessible URL for your callback service.
- You can enable the DLR (Delivery Receipt) Callback Service for outgoing SMS messages from your Flowroute long code or toll-free phone number. This is not possible for outgoing MMS messages.
Callback type to retrieve details for. Possible values are sms_callback, mms_callback, and dlr_callback.
Response FormatOn success, the HTTP status code in the response header is 200 OK and the response body contains a detailed callback object for your specified callback_type. On error, the header status code is an error code and the response body contains an array of error objects.
Callback object composed of the following:
Different attributes of a callback object:
api_version string- Indicates the version of the Messaging API that your account is using.
callback_url string- The callback URL associated with your specified callback_type.
product string- Indicates the product associated with your specified callback_type. For example, "dlr" is the product associated with your dlr_callback.
This will always be callback.