Webhooks
Handle inbound MMS webhook (Sinch)
Inbound webhook called by the Sinch MMS JSON API when an MMS is delivered to a Tether-provisioned number. Acknowledges within 10 seconds and processes asynchronously: media is downloaded and re-uploaded to R2, then the message is appended to the contact's conversation.
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/mms" \ -H "Content-Type: application/json" \ -d '{ "id": "01K608PMMS001H41EQS64AH7CE", "origin": "MMS_MO", "from": "+14165550100", "to": "+12362320246", "body": "Photo of the issue", "media": [ { "url": "https://sinch-mms.s3.amazonaws.com/media/12345/image1.jpg", "content_type": "image/jpeg", "size": 184221 } ] }'{ "message": "MMS MO webhook received", "messageId": "01K608PMMS001H41EQS64AH7CE"}