BizKitHub
DokumentationAPI-ExplorerPost/api/v1/post/comment/list
getPostÖffentliche API v1

/api/v1/post/comment/list

Returns a flat list of comments for a post (no nested structure). Frontend can build parent/child UI using parentId.

postgetApiV1PostCommentList

Parameter

4 in der Query

Query-Parameter

· 4
apiKeystringPflicht

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

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
postIdstringPflicht

Post public id (content__post.external_id).

Beispiel6IU2SWgP76FO2UXw
identityIdstringOptional

Logged user identity (from your frontend cookies). Learn more

BeispielZ9CPkS2o3UV163VQn5OUv0T8BQi8Fvdg
includeDeletedbooleanOptional

Internal only. If true, includes deleted comments (deletedDate not null).

Standard: false
Beispielfalse

Antwortschema

1 dokumentierter Statuscode

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1
itemsobject[]Pflicht
Jedes Array-Element:
idstringPflicht

Comment external ID (content__post_comment.external_id), 16-char string.

BeispielAbc1dEf2gHiJ3kL4
parentIdstring | nullPflicht

Comment external ID (content__post_comment.external_id), 16-char string.

BeispielAbc1dEf2gHiJ3kL4
contentstringPflicht
insertedDateDate | string | string | numberPflicht
Eine von 4 Varianten:
Variante 1
Date
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
deletedDateDate | string | string | numberPflicht
Eine von 4 Varianten:
Variante 1
Date
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
authorobjectPflicht
namestringPflicht
profileSlugstringPflicht
usingSubscriptionServicebooleanOptional

True if the author is using a subscription service (has active subscription).

isMinebooleanOptional

True if identityId belongs to the comment author.

Variante 2
state"error"Pflicht
messagestringPflicht
code"200"Pflicht
hintstring | nullPflicht

Antwortbeispiel

application/json
{
  "items": [
    {
      "id": "Abc1dEf2gHiJ3kL4",
      "content": "example_content",
      "author": {
        "name": "example_name",
        "profileSlug": "example_profileSlug"
      },
      "usingSubscriptionService": false,
      "isMine": false
    }
  ]
}

Anfragebeispiel

GET /api/v1/post/comment/list

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

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten