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 } }
Get the total number of comments on a topic. Requires subscriber authentication.
Authorization: Bearer SUBSCRIBER_JWT_TOKEN
Was this page helpful?