Skip to main content

Endpoint

POST https://api.ugc.inc/comment/create

Overview

Create a comment on a TikTok video using one of your accounts. Use the returned commentId to check the status of the comment.

Request Body

accountId
string
required
Account ID to use for commentingThe account must:
  • Be in setup status
  • Belong to your organization
postUrl
string
required
Full URL to the TikTok post to comment onFormat: https://www.tiktok.com/@username/video/{video_id}Example: https://www.tiktok.com/@creator/video/7234567890123456789
commentText
string
required
The text content of the comment
  • Can include emojis
  • Maximum length: 150 characters (TikTok limit)
  • Cannot be empty

Response

data
object
Comment creation response
curl -X POST https://api.ugc.inc/comment/create \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountId": "acc_123456",
    "postUrl": "https://www.tiktok.com/@creator/video/7234567890123456789",
    "commentText": "Great video! 🔥"
  }'
{
  "ok": true,
  "code": 200,
  "message": "Success",
  "data": {
    "commentId": "550e8400-e29b-41d4-a716-446655440000"
  }
}