Skip to main content
GET
/
posts
/
{postId}
/
comments
Get paginated comments by post id
curl --request GET \
  --url https://{subdomain}.nudj.cx/api/v2/integration/posts/{postId}/comments \
  --header 'x-api-token: <api-key>'
{
  "totalCount": 123,
  "edges": [
    {
      "id": "<string>",
      "organisationId": "<string>",
      "communityId": "<string>",
      "discussionId": "<string>",
      "parentId": "<string>",
      "content": "<string>",
      "imageUrl": "<string>",
      "createdAt": "<string>",
      "createdBy": "<string>",
      "updatedAt": "<string>",
      "updatedBy": "<string>",
      "username": "<string>",
      "displayName": "<string>",
      "profilePictureUrl": "<string>"
    }
  ]
}

Authorizations

x-api-token
string
header
required

Path Parameters

postId
string
required

Query Parameters

limit
integer
default:10
Required range: 1 <= x <= 100
skip
integer
default:0
Required range: x >= 0
sort
string
communityId
string
allocationId
string
verified
boolean
isShop
boolean
type
string
status
string
eventCategory
string
eventSubCategory
string
eventName
string
displayMode
string
fromDate
string
toDate
string
isGlobalTemplate
boolean
key
string
progressPeriod
string

Response

Successful response

totalCount
number
required
edges
Comment · object[]
required
I