IReactions
v1 stable/IReactions/v1/
Add and remove emoji reactions on messages, unicode or custom.
Authentication required
All endpoints require Authorization: Bot <token> header.
Get a token →
/IReactions/v1/Add AddReactions Adds a reaction to a message. Each user can react once per emoji. Maximum 20 unique emoji per message.
Request Body AddReactionRequest
Errors
Example
curl -X POST \
-H "Authorization: Bot YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":"...","messageId":"0","emoji":"..."}' \
https://gateway.argon.zone/IReactions/v1/Add /IReactions/v1/AddCustom AddReactions Adds a custom emoji reaction (itemId: an emoji item, see IExpressions/List); its emoji reads :name:. Any bot may react with an emoji of the space the message is in. An emoji of another space is for verified bots only; others get 403 insufficient_permissions.
Request Body CustomReactionRequest
Errors
Example
curl -X POST \
-H "Authorization: Bot YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"spaceId":"...","channelId":"...","messageId":"0","itemId":"..."}' \
https://gateway.argon.zone/IReactions/v1/AddCustom /IReactions/v1/BatchGet Returns current reactions for up to 50 messages in a single channel. Ideal for refreshing visible messages after reconnect.
Request Body BatchGetReactionsRequest
Response BatchGetReactionsResponse
Example
curl -X POST \
-H "Authorization: Bot YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":"...","messageIds":[]}' \
https://gateway.argon.zone/IReactions/v1/BatchGet /IReactions/v1/List Lists all reactions on a message. Returns emoji, count, and a preview of user IDs (up to 3).
Query Parameters
Response ListReactionsResponse
Errors
Example
curl -X GET \
-H "Authorization: Bot YOUR_TOKEN" \
"https://gateway.argon.zone/IReactions/v1/List?channelId=...&messageId=..." /IReactions/v1/Remove Removes the bot's reaction from a message. Only the bot's own reaction can be removed.
Request Body RemoveReactionRequest
Errors
Example
curl -X DELETE \
-H "Authorization: Bot YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":"...","messageId":"0","emoji":"..."}' \
https://gateway.argon.zone/IReactions/v1/Remove /IReactions/v1/RemoveCustom Removes the bot's custom emoji reaction, also after the emoji was deleted.
Request Body CustomReactionRequest
Errors
Example
curl -X POST \
-H "Authorization: Bot YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"spaceId":"...","channelId":"...","messageId":"0","itemId":"..."}' \
https://gateway.argon.zone/IReactions/v1/RemoveCustom