Blooio API Reference
Reactions

Add or remove a reaction

Add or remove a reaction to a message. The messageId can be an explicit message ID (e.g., msg_xxx) or a relative index (-1 for last message, -2 for second-to-last, etc.). When using relative indices, you can optionally filter by message direction (inbound/outbound only).

POST
/chats/{chatId}/messages/{messageId}/reactions

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication. Use your API key as the bearer token.

In: header

Path Parameters

chatId*string

Chat identifier. Can be: (1) phone number in E.164 format (e.g., +15551234567), (2) email address, (3) group ID (grp_xxxx), or (4) comma-separated list of phone numbers/emails for multi-recipient group chats (e.g., +15551234567,+15559876543). All values should be URL-encoded.

messageId*string

Message ID (e.g., msg_xxx) or relative index (-1, -2, etc.)

Request Body

application/json

reaction*string

The reaction to add or remove. Must be prefixed with + to add or - to remove. Examples: +love, -like, +laugh

Match^[+-](love|like|dislike|laugh|emphasize|question)$
direction?string

Filter by message direction (only used when messageId is a relative index like -1, -2)

Value in"inbound" | "outbound"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://backend.blooio.com/v2/api/chats/%2B15551234567/messages/msg_abc123def456/reactions" \  -H "Content-Type: application/json" \  -d '{    "reaction": "+love"  }'
{
  "success": true,
  "message_id": "string",
  "reaction": "love",
  "action": "add"
}
{
  "error": "string",
  "status": 0
}
{
  "error": "string",
  "status": 0
}
{
  "error": "string",
  "status": 0
}
{
  "error": "string",
  "status": 0
}
{
  "error": "string",
  "status": 0
}