message.sent — message sent
A message leaves for a customer: an AI reply, an operator, a campaign, an automation, the API or an integration, an automatic reply, a reminder, or a message typed in the WhatsApp Business app on the phone.
message.sent_by says who sent it: ai, qa (answer from the frequent questions), preset (a message you set), auto_reply, automation, campaign, reminder, phone (app on the phone), api, operator. With an operator, message.operator has their name.For a WhatsApp template
message.type is template, message.template has name and language and message.text the text as the customer reads it. Campaign messages also have campaign with id and name.«Sent» means SendApp handed it to the channel. WhatsApp's delivery, read and errors arrive with message.status, linked by
message.id. One-way SMS campaigns (without a conversation) do not send message.sent.Parameters
5 · 4 required
channel
required
The channel of the message.
conversation_id
required
The conversation in SendApp.
contact
required
The recipient:
id, phone, email, name.
message
required
id, type, text, media, timestamp, direction = out, sent_by, operator, status.
campaign
optional
Only for the messages of a campaign:
id, name.
Need help with the integration? info@sendapp.live