Skip to main content

Post comments API

Get list of comments of a specific post

auth headers of author are requried if post is private note or posted in private room.

Path Parameters
    post_id integer required

    post id

Query Parameters
    client_auth_token string required

    Client API token

Header Parameters
    access-token string

    user access token

    client string

    client access token

    expiry string

    timestamp of token expiry

    Example: 1531315250
    token-type string

    access token type

    Example: Bearer
    uid string

    user uid

    Example: user@quranreflect.com
Responses

List of comments and replies


Schema
    success boolean
    data object
    comments object[]
  • Array [
  • id integer
    body string
    is_private boolean
    hidden boolean
    created_at string
    comment_policy_show boolean
    parent_id nullable

    parent comment id if this is a reply to another comment

    children undefined[]

    Comment replies

    author object
    id integer
    username string
    name string
    first_name string
    last_name string
    verified boolean
    profile_img string
    followed boolean
    original_profile_img string
    rooms_list object[]
    display_name string
    user_type nullable
  • ]
Loading...