Skip to main content
POST
/
v1
/
public
/
topic-comments.count
curl --location --request POST 'https://api.yourapp.com/v1/public/topic-comments.count' \
--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": "topic-uuid-123"
}'
{
  "data": 23,
  "pagination": {
    "offset": 0,
    "limit": 50
  }
}

Authentication

Authorization: Bearer SUBSCRIBER_JWT_TOKEN

Request Body

id
string
required
Topic ID (UUID)

Response

data
number
Total comment count
pagination
object
Pagination metadata
curl --location --request POST 'https://api.yourapp.com/v1/public/topic-comments.count' \
--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": "topic-uuid-123"
}'
{
  "data": 23,
  "pagination": {
    "offset": 0,
    "limit": 50
  }
}

Notes

  • Requires subscriber authentication
  • Count includes top-level comments only