Skip to main content

Get post detail

Get detail of single post using the post Id.

NOTE: access-token, client and other auth headers are optional for this api. But you'll need to provide these headers if need to access private notes or private room post of author.

Path Parameters
    post_id number 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

    token-type string

    access token type

    uid string

    user uid


Example response

    post object

    Post/Reflection model

    id integer

    The ID of the post.

    body string

    the post text

    likes integer

    The number of likes.

    draft boolean

    Whether the post should be publicly viewed or not.

    published_at string

    The date the post was published at. Format of the date is MMMM dd, yyyy HH:mm

    room_id nullable
    global boolean

    Whether the post is global or not. A post inside a room can be set to global and becomes visible to everyone.

    editable boolean

    Whether the post is editable or not. It will be true if the post belongs to the current user.

    deletable boolean

    Whether the post is deletable or not. It will be true if the post belongs to the current user.

    reportable boolean

    Whether the current user can report the post or not.

    citation_texts object[]
  • Array [
  • id integer
    text string

    translation text

    translated_name string

    name of the translation

    from integer

    from ayah number

    to integer

    to ayah number

    translation_id integer
  • ]
  • language string

    The language of the post.

    detected_translation integer
    views integer

    The number of views.

    group nullable
    group_link nullable
    comments object[]
    liked boolean
    author object
    id integer
    username string
    name string
    verified boolean
    profile_img string
    filters object[]
  • Array [
  • id integer
    from integer nullable
    to integer nullable
    indicator_text string
  • ]
  • tags object[]
  • Array [
  • id integer
    name string

    the #tag

  • ]
  • estimated_reading_time float

    Default value: 0

    The average time it takes to read the post