Skip to main content
POST
/
notifications
/
api
/
v1
/
sms
/
webhooks
/
status
/
Carrier delivery-receipt (DLR) callback
curl --request POST \
  --url https://www.closient.com/notifications/api/v1/sms/webhooks/status/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "message_id": "<string>",
  "status": "<string>"
}
'
{
  "ok": true,
  "action": ""
}

Body

application/json

Delivery receipt (DLR) payload from a carrier status callback.

message_id
string
required

Carrier-assigned message id matching SMSMessage.provider_message_id.

status
string
required

Carrier delivery status (e.g. delivered, failed, undelivered).

Response

OK

Small acknowledgement returned to the carrier after processing.

ok
boolean
required

Whether the webhook was accepted and processed.

action
string
default:""

Action taken for an inbound message (stop/help/start/none), empty for status callbacks.