Skip to content

Add Reaction Tier 4

POST/api/comments/:id/reactionsCopied!

Adds a reaction to a comment.

Request

Path

idstringrequired
Comment ID

Body

typestringrequired
A valid Unicode emoji

Response

Returns 204 No Content. The response body is empty.

Example

bash
curl -X POST 'https://api.youvico.com/api/comments/2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6/reactions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "type": "👍" }'

Returns 204 No Content on success.