Ir al contenido
Documentación de Endless

TikTok post comments

POST
/social/tiktok_post_comments

Get the comments on a TikTok video by URL (or bare video id). Use when the user asks about comments, reactions, or sentiment on a specific video.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Header Parameters

Endless-Api-Version?string

Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/social/tiktok_post_comments" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "url": "string"    }  }'
{  "operation": "instagram_profile",  "result": {    "summary": "string",    "video_id": "string",    "count": -9007199254740991,    "comments": [      {        "comment_id": "string",        "text": "string",        "created_at": "string",        "like_count": 0,        "reply_count": 0,        "author": {          "id": "string",          "username": "string",          "nickname": "string"        }      }    ]  },  "requests": 0,  "credits_charged": 0}