Skip to main content
POST
Toggle a reaction on a post or comment

Authorizations

Authorization
string
header
required

Bearer credential for the public API. Send a live COPE API key (cope_sk_live_*), or a Clerk session token when acting as a signed-in user. Community operations are scoped to the authenticated user; include X-Cope-Business-Id to act on behalf of a specific business you own.

Body

application/json
reactable_id
string
required
reactable_type
enum<string>
required
Available options:
post,
comment
reaction_type
enum<string>
required
Available options:
like,
love,
celebrate,
support,
insightful

Response

Reaction toggle result

data
object
required