List comments on one TikTok post, or the replies to one of its comments

GET
/v1/content/tiktok.posts.comments

List comments on one TikTok post, or the replies to one of its comments.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

connectedProfileId*string

Koil Connected Profile associated with the operation.

Length1 <= length
mediaExternalId*string
Length1 <= length
parentExternalId?string
Length1 <= length
includeReplies?boolean

Include up to three replies inline under each top-level comment.

status?|

Visibility filter; defaults to ALL (hidden included).

sort?||
cursor?string

Opaque cursor for fetching the next result page.

Length1 <= length
limit?number

Maximum number of items to return.

Range1 <= value
includeProviderRaw?boolean

Whether to include transient provider-native payloads.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/content/tiktok.posts.comments?connectedProfileId=string&mediaExternalId=string"
{  "data": [    {      "externalId": "string",      "mediaExternalId": "string",      "text": "string",      "media": [        {          "mediaId": "string",          "sourceUrl": "string",          "contentType": "string",          "filename": "string",          "checksum": "string",          "altText": "string"        }      ],      "author": {        "id": "string",        "displayName": "string",        "username": "string"      },      "thread": {        "parentId": "string",        "rootId": "string",        "threadId": "string"      },      "hidden": true,      "pinned": true,      "liked": true,      "ownerAuthored": true,      "engagement": {        "likes": 0,        "comments": 0,        "shares": 0,        "views": 0      },      "publishedAt": "2019-08-24T14:15:22Z",      "providerRaw": null,      "contentType": "tiktok.posts.comments"    }  ],  "nextCursor": "string",  "hasMore": true}
{  "error": {    "code": "validation_error",    "message": "string",    "meta": {      "property1": null,      "property2": null    }  }}