React to a Message

Add or remove an emoji reaction to a previously sent message.

Authentication

PINNACLE-API-KEYstring
API Key authentication via header

Request

This endpoint expects an object.
messageIdstringRequired

Unique identifier of the message. This identifier is a string that always begins with the prefix msg_, for example: msg_1234567890.

reactionstring or nullRequired

Unicode emoji to add.

Use null to remove existing reaction.

optionsobjectOptional

Response

Successfully added or removed a reaction from the message.
messageIdstring

Unique identifier of the message. This identifier is a string that always begins with the prefix msg_, for example: msg_1234567890.

reactionMessageIdstring

Unique identifier of the message with the reaction. This identifier is a string that always begins with the prefix msg_, for example: msg_1234567890.

Errors