Skip to main content

User-related API environment

Production user-related API docs

These pages describe the Production user-related API stack.

Use production OAuth credentials, production API base URLs, and production app URLs when following this documentation.

Need to test before going live? Switch to the Pre-live docs using the environment switcher above.

Toggle post like

Toggle like status for a post. If already liked, removes the like. If not liked, adds a like. Updates the post like count and triggers notifications.

Path Parameters
    id number required

    Unique numeric post ID to like/unlike

Responses

Like status toggled - returns new state


Schema
    liked boolean

    true if now liked, false if now unliked

Loading...