Skip to main content

Endpoint

Overview

Create a comment on a TikTok video or an Instagram post or Reel using one of your accounts. The account determines which platform is used; the post URL must match that platform. The account must belong to your organization, have a configured phone and username, and already be logged in on that phone. Commenting on either platform does not support emulated Android or iPhone accounts. A successful response means the comment task has started, not that the comment is already published. Use the returned commentId with Get Comments to check for completed or failed. A completed comment may have a null commentUrl.

Instagram example

Use an Instagram account ID and the full HTTPS URL of the target post or Reel:
For a regular Instagram post, use https://www.instagram.com/p/SHORTCODE/ instead. Replace SHORTCODE with the code from the post’s share link.

Request Body

string
required
Account ID to use for commenting. The account must belong to your organization and meet the platform and phone requirements above.
string
required
Full URL to a post on the account’s platform:
  • TikTok: https://www.tiktok.com/@username/video/VIDEO_ID
  • Instagram post: https://www.instagram.com/p/SHORTCODE/
  • Instagram Reel: https://www.instagram.com/reel/SHORTCODE/
Instagram URLs must use HTTPS and the instagram.com or www.instagram.com host. Profile, Story, and shortened share URLs are not supported. Query parameters on supported post and Reel URLs are accepted.
string
required
The comment text, including any emojis. Cannot be empty.Instagram accepts 1–150 Unicode code points, including spaces and emojis, and rejects whitespace-only text. This is the UGC Inc product limit for Instagram commenting, not Instagram’s native comment limit.

Response

object
Comment creation response