BizKitHub
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

Query parameters

· 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

ExamplePRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
postIdstringRequired

Post public id (content__post.external_id).

Example6IU2SWgP76FO2UXw

Response schema

1 status code documented

200Success
object | object
One of 2:
Variant 1
countnumberRequired
Example12
Variant 2
state"error"Required
messagestringRequired
code"200"Required
hintstring | nullRequired
One of 2:
Variant 1
string
Variant 2
null

Response example

application/json
{
  "count": 12
}

Request example

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"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key