Skip to main content

User-related API environment

Pre-live user-related API docs

Get post liked state

Returns whether the authenticated user currently likes the post. This lightweight endpoint avoids loading the full post payload for simple like-state checks.

Path Parameters
    id number required

    Unique numeric post ID to check liked state for

Responses

Like state retrieved successfully


Schema
    liked boolean

    true when the post is liked by the current user

Loading...