Webhook for incoming message notification
This webhook is triggered when the a new message is received.
Request examples
Text message
Text message
{
"event": "INCOMING_MESSAGE",
"sender": "agentSender",
"channel": "RCS",
"message": {
"text": "ok",
"type": "TEXT"
},
"sentDate": "2025-11-07T16:08:08Z",
"channelIdentifier": "+393470000000"
}
Action (call to action)
{
"event": "INCOMING_MESSAGE",
"sender": "agentSender",
"channel": "RCS",
"message": {
"text": "ok",
"type": "ACTION",
"ctaPayload": "cta-ok"
},
"sentDate": "2025-11-07T17:11:41Z",
"channelIdentifier": "+393470000000"
}
File content (image, video or document)
{
"event": "INCOMING_MESSAGE",
"sender": "agentSender",
"channel": "RCS",
"message": {
"url": "https://nifteem.fra1.digitaloceanspaces.com/agentSender/public/user/0FHD7EK0YXNCB/inbound/media/image/0NH0JT8XXXXXX.jpg",
"size": 230230,
"type": "FILE",
"filename": "5750742160634860617.jpg",
"contentType": "image/jpeg",
"expirationDate": "2025-12-10T16:56:02Z"
},
"sentDate": "2025-11-10T16:56:02Z",
"channelIdentifier": "+393470000000"
}
Location coordinates
{
"event": "INCOMING_MESSAGE",
"sender": "agentSender",
"channel": "RCS",
"message": {
"type": "LOCATION",
"latitude": 46.1606409,
"longitude": 12.2323908
},
"sentDate": "2025-11-10T17:15:28Z",
"channelIdentifier": "+393470000000"
}