Webhooks

Handle Sinch MMS delivery receipt

POST
/api/webhook/sinch/mms-delivery-receipt

Status callback posted by the Sinch MMS JSON API for outbound MMS batches. Handles N101 (Sent), N102 (Delivered), N103 (Expired), E101 (Sending Failure), and E102 (Delivery Failure) codes by updating the Message and emitting a socket event to the org.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/webhook/sinch/mms-delivery-receipt" \  -H "Content-Type: application/json" \  -d '{    "origin": "MMS_MT",    "code": "N102",    "message_id": "01K608PMMS001H41EQS64AH7CE",    "status": "Delivered",    "to": "14165550100"  }'
{  "message": "MMS delivery receipt received",  "mmsId": "01K608PMMS001H41EQS64AH7CE",  "code": "N102"}