Skip to main content

Get Reaction By ID

GET /api/reaction/:id​

Retrieve a specific reaction by its ID.

Response​

  • 200 OK
    { "success": true, "data": { /* reaction object */ } }
  • 404 Not Found
    { "success": false, "error": "Reaction not found" }
  • 500 Internal Server Error
    { "success": false, "error": "Internal Server Error" }

Reaction object​

{
"id": 1,
"service_id": 1,
"name": "Reaction Name",
"description": "Reaction description",
"config": {}
}

Example​

curl -X GET http://localhost:8080/api/reaction/1 \
--cookie "token=your_jwt_token"