SendApp Docs
Log in

message.received — incoming message

A customer writes to you, on any channel: WhatsApp, Instagram, Messenger, Telegram, email, SMS, chat widget. It is not sent for Voice AI calls (they have their own events) nor for the panel's test chat.
message.type is text, image, video, audio, document, sticker, location, contacts, interactive, reaction or template. A file arrives in message.media as a link (url, type, mime_type, filename): download it if you need it.
conversation_id is the id of the conversation in SendApp. contact.phone is the number without + (WhatsApp, SMS), contact.email the address (email), contact.id the channel's id in the other cases.
message.id is the id of the message on the channel (the wamid for WhatsApp): it is null when the channel does not give one.

Parameters

4 · 4 required
channel required
whatsapp, instagram, messenger, telegram, email, sms, rcs, widget…
conversation_id required
The conversation in SendApp.
contact required
Who writes: id, phone, email, name.
message required
id, type, text, media, timestamp, direction = in. With type = location also location.
Need help with the integration? info@sendapp.live