Smileline
InboxConversationsIdMessagesMessageidReaction

React to a patient's WhatsApp message

Sends the practice's WhatsApp reaction on a patient's message, or removes it with an empty `emoji`. WhatsApp keeps one reaction per sender per message, so a new emoji replaces the old one. The reaction is no message of its own: it shows as `metadata.whatsappReaction` on the reacted message. Only inside the 24-hour window (409 WHATSAPP_WINDOW_CLOSED); a message that isn't a patient's WhatsApp message answers 409 REACTION_UNAVAILABLE, a disconnected number 409 CONNECTION_DISCONNECTED or WHATSAPP_RECONNECT_REQUIRED, a refusal from WhatsApp 502 WHATSAPP_REACTION_FAILED.

Loading the API reference…