Create/Edit/Delete TDR event subscription (Old)

Refer to Create/Edit/Delete Outbound SMS Event Subscription and Create/Edit/Delete Inbound SMS Event Subscription

Response Format

ParameterTypeDescription
enabledbooleanTrue / False
urlStringWebhook url
updatedAtStringUpdated date time

🚧

Webhook URL requirement:

The webhook URL needs to be verified. After that, you will get a POST request with an Action and are required to set the response in JSON Response format as shown below:

Note that the JsonResponse.Result is JSON encoding of the ActionEndpointResponse

ActionEndpointRequest {
+ Challenge string json:"challenge"
+ }

ActionEndpointResponse {
+ Challenge string json:"challenge"
+ }

JsonResponse {
+ Code int json:"code"
+ Result json.RawMessage json:"result"
+ }

Language