User-related API environment
Pre-live user-related API docs
These pages describe the Pre-live user-related API stack.
Use pre-live OAuth credentials, pre-live API base URLs, and pre-live app URLs when following this documentation. Keep your OAuth flow, API requests, callback URLs, and manual testing within the pre-live environment.
- Use prelive.quran.com for auth-related testing.
- Use prelive.quranreflect.org for Quran Reflect paths where applicable.
- Do not mix production sessions or production user data with pre-live testing.
Get post comments
Retrieve paginated top-level comments for a post. Use the replies endpoint to get nested replies for specific comments.
Path Parameters
Unique numeric post ID
Query Parameters
Possible values: >= 1 and <= 20
Default value: 20
Number of results to return
Possible values: >= 1
Default value: 1
Page number
- 200
- 404
Comments retrieved with pagination metadata
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
comments object[] required
Default value: false
Default value: 0
Default value: 0
Default value: false
Default value: false
Default value: false
author object
avatarUrls object required
Default value: false
mentions object[]
avatarUrls object required
Default value: false
tags object[]
{
"total": 10,
"currentPage": 1,
"limit": 10,
"pages": 1,
"comments": [
{
"id": 0,
"postId": 0,
"authorId": "string",
"parentId": 0,
"isPrivate": false,
"body": "string",
"createdAt": "2026-05-20T22:49:59.683Z",
"updatedAt": "2026-05-20T22:49:59.683Z",
"toxicityScore": 0,
"repliesCount": 0,
"likesCount": 0,
"reported": false,
"removed": false,
"hidden": false,
"languageId": 0,
"languageName": "string",
"moderationStatus": 0,
"author": {
"postsCount": 0,
"avatarUrls": {
"small": "string",
"medium": "string",
"large": "string"
},
"id": "string",
"username": "string",
"verified": false,
"firstName": "string",
"lastName": "string",
"memberType": 0
},
"mentions": [
{
"postsCount": 0,
"avatarUrls": {
"small": "string",
"medium": "string",
"large": "string"
},
"id": "string",
"username": "string",
"verified": false,
"firstName": "string",
"lastName": "string",
"memberType": 0,
"locations": {},
"followersCount": 0,
"displayName": "string"
}
],
"tags": [
{
"language": "string",
"id": 0,
"name": "string",
"commentsCount": 0
}
]
}
]
}
{
"total": 10,
"currentPage": 1,
"limit": 10,
"pages": 1,
"comments": [
{
"id": 1,
"postId": 1,
"authorId": "string",
"parentId": 1,
"isPrivate": false,
"body": "string",
"createdAt": "2026-04-02T00:00:00.000Z",
"updatedAt": "2026-04-02T00:00:00.000Z",
"toxicityScore": 1,
"repliesCount": 0,
"likesCount": 0,
"reported": false,
"removed": false,
"hidden": false,
"languageId": 1,
"languageName": "string",
"moderationStatus": 1,
"author": {
"postsCount": 1,
"avatarUrls": {
"small": "string",
"medium": "string",
"large": "string"
},
"id": "string",
"username": "string",
"verified": false,
"firstName": "string",
"lastName": "string",
"memberType": 1
},
"mentions": [
{
"postsCount": 1,
"avatarUrls": {
"small": "string",
"medium": "string",
"large": "string"
},
"id": "string",
"username": "string",
"verified": false,
"firstName": "string",
"lastName": "string",
"memberType": 1,
"locations": {},
"followersCount": 1,
"displayName": "string"
}
],
"tags": [
{
"language": "string",
"id": 1,
"name": "string",
"commentsCount": 1
}
]
}
]
}
Post not found