Skip to main content

Toggle Save Post API

This API endpoint allows the authenticated user to toggle post save the post.

If the user has already saved the target post, sending the same request will remove the saved post, and vice versa.

Path Parameters
    post_id integer required

    post id

Query Parameters
    client_auth_token string required

    Client API token

Header Parameters
    access-token string required

    user access token

    Example: zKWMb7qk5DVDHFK4htAsOQ
    client string required

    client access token

    Example: tIlwWy_JuhqY_mz79_sO0Q
    expiry string required

    timestamp of token expiry

    Example: 1541940275
    token-type string required

    access token type

    Example: Bearer
    uid string required

    user uid

    Example: user@quranreflect.com
Responses

OK

Response Headers

    Schema
      saved boolean
    Loading...