React to a message
/chats/{chatId}/messages/{messageId}/reactionsAdds or removes a tapback reaction on any message in the chat — inbound (received) or outbound — addressed by the message id from the List messages endpoint. Use a + prefix to add and - to remove (e.g. +love, -love). Returns 404 if the message isn't in the chat and 409 if it hasn't been dispatched to the device yet. Blooio channels only.
Path parameters
chatIdRequiredstringUnique identifier of the chat, prefixed with chat_. Returned by the List chats endpoint.
messageIdRequiredstringUnique identifier of the message — the id returned when you send a message or by the List messages endpoint. Outbound messages use a msg_ id; inbound (received) messages use the id the List endpoint exposes for that row. Both are addressable.
Headers
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
Body parameters
JSONreactionRequiredstringe.g. '+love' to add, '-love' to remove.
Returns
dataoptionalobject
dataoptionalobjectmessage_idoptionalstringreactionoptionalstringatoptionalintegerResponse codes
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X POST https://api.blooio.com/v4/chats/chat_a1b2c3d4/messages/msg_a1b2c3d4/reactions \{ "data": { "message_id": "msg_a1b2c3d4", "reaction": "string", "at": 0 }}