Skip to content

Whether the current caller has liked this post

GET
/posts/{id}/like

Used by the post modal on open to decide whether the Like button shows the active state. Returns {liked: bool}. Anonymous callers get 401.

id
required
string format: uuid

Like state for the caller

object
liked
required
boolean

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"
}

Resource not found

object
error
required

Human-readable error summary

string
Example
the request could not be completed