v58

latestOpenAPI 3.0.3agplraw.githubusercontent.com2026-08-01187461.6 MB
bot

Adds a reaction to a chat message

post/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/reaction/{messageId}

Path parameters

apiVersion'v1' required
tokenstring required

Conversation token

messageIdinteger required

ID of the message

Headers

x-nextcloud-talk-bot-randomstring

Random seed (at least 32 bytes) used together with the reaction to generate the SHA256-HMAC request signature

x-nextcloud-talk-bot-signaturestring

SHA256-HMAC signature over the concatenation of the random seed and the reaction, signed with the shared bot secret, to verify authenticity

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

reactionstring required

Reaction to add

Response

Reaction already exists