Skip to content

Like a post

POST
/posts/{id}/like

Idempotent — re-liking a post the caller already liked is a no-op (counter doesn’t bump twice). Requires posts.like capability (granted to Base by default).

id
required
string format: uuid

Liked

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Resource not found

object
error
required

Human-readable error summary

string
Example
the request could not be completed