Add reaction
Add an emoji reaction to a message.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
The conversation ID
The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)
Body
application/jsonWhat every request needs
Account ID
Emoji character (e.g. "๐", "โค๏ธ")
Responses
Successยท the request worked
Errorsยท the request failed
How it behaves
Platform support
- Telegram: supports a subset of Unicode emoji reactions
- WhatsApp: supports any standard emoji (one reaction per message per sender)
- Instagram and Facebook Messenger: any standard emoji, subject to Meta's 24h messaging window
- Slack: the emoji must have a Slack name (e.g.
:thumbsup:); unnamed characters return 400 - iMessage: the six Apple tapbacks (โค๏ธ ๐ ๐ ๐ โผ๏ธ โ) render natively; any other emoji is sent as a custom emoji tapback (iOS 18+ recipients)
- All others: returns 400 (not supported)
Resolve message attachment
Resolve one attachment on a message to a media url that works right now. ### Why it exists Instagram and Facebook sign DM media urls per request and expire them. So the `url` on a message is a snapshot: it works when you read the message and stops working later. This endpoint checks the stored url and, when it has gone stale, re-mints the message's media from Meta and persists it before answering. The message id never expires, so this URL is the one to store. It is returned ready-made on each attachment as `refreshUrl` when you read a message over REST. ### Building the URL from a webhook **Webhook payloads do not carry `refreshUrl`**, so a webhook-driven integration builds this URL itself. Every piece is in the event: - `message.conversationId` - `message.platformMessageId` - the attachment's zero-based position - `account.accountId` **`accountId` is a required query parameter**. Omitting it returns `400` `missing_required_field`, which is the same requirement `GET /v1/whatsapp/media/{mediaId}` has. ### Response format - By default it responds `302` to the live media url, so it can be used directly as an `<img src>` on a browser session. - API-key integrators should pass `?format=json` and read `url` off the body, since a browser cannot attach an Authorization header to an image request. ### Other platforms Only Instagram and Facebook media can be re-minted. On other platforms the stored url is returned as-is when it still resolves, and `404` otherwise.
Remove reaction
Remove a reaction from a message. ### Platform support - Telegram: send empty reaction array to clear - WhatsApp: send empty emoji to remove - Instagram and Facebook Messenger: sends Meta's `unreact` action; the emoji does not need to be repeated - Slack: removes the reaction we previously sent on that message - iMessage: retracts your existing tapback or emoji reaction on the message (400 when you have none) - All others: returns 400 (not supported)