DocsAPI ReferencePost/api/v1/post/comment/count
getPostPublic API v1

/api/v1/post/comment/count

Returns number of non-deleted comments for a post.

postgetApiV1PostCommentCount

Parameters

2 query

2 total
Query · 2
apiKeystringRequired

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

postIdstringRequired

Post public id (content__post.external_id).

Request

GET /api/v1/post/comment/count

get
curl -X GET "https://api.bizkithub.com/api/v1/post/comment/count?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&postId=6IU2SWgP76FO2UXw" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

JSON payload

{
  "count": 12
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key