Skip to content

React to an activity

POST
/v1/activities/{id}/reactions
curl --request POST \
--url http://localhost:3000/v1/activities/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/reactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "kind": "like", "custom": {} }'
id
required
string format: uuid
Media typeapplication/json
object
kind
required
string
Example
like
custom
object
key
additional properties
any

Reacted. Idempotent — a repeat does not move the counter.

Media typeapplication/json
object
id
required
string format: uuid
activity_id
required
string format: uuid
user_id
required
string
kind
required
string
custom
required
object
key
additional properties
any
created_at
required
string format: date-time
Examplegenerated
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"activity_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"user_id": "example",
"kind": "example",
"custom": {},
"created_at": "2026-04-15T12:00:00Z"
}

Invalid, expired, revoked, or absent token.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: VALIDATION_FAILED UNAUTHENTICATED FORBIDDEN NOT_FOUND CONFLICT RATE_LIMITED INTERNAL
message
required
string
requestId
required
string
fields

Present only for VALIDATION_FAILED.

Array<object>
object
path
string
message
string
Example
{
"error": {
"code": "VALIDATION_FAILED"
}
}

Activity not found

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: VALIDATION_FAILED UNAUTHENTICATED FORBIDDEN NOT_FOUND CONFLICT RATE_LIMITED INTERNAL
message
required
string
requestId
required
string
fields

Present only for VALIDATION_FAILED.

Array<object>
object
path
string
message
string
Example
{
"error": {
"code": "VALIDATION_FAILED"
}
}