Send a private reply to the selected comment. For TikTok, send channel and tiktok in JSON. Put the text in tiktok.text, up to 6,000 Unicode code points. Omit top-level text, user fields and template. A success receipt indicates provider acceptance. Inbox linking and delivery may follow later. For Facebook, supply user_id, facebook.page_id and facebook.text. Use a stable UUID in tiktok.client_request_id for the attempt.
For Instagram, type defaults to text. Supply text for a text reply or set type to template and supply template.
Set contract=unified_post_comment in the query for TikTok, Facebook or the unified Instagram response. Select the channel explicitly. For TikTok, use the connected WATI channel ID and keep provider identifiers as digit strings. The unified response has channel_type and result. Existing Instagram callers can omit the contract to receive the legacy response.
For TikTok, the workspace and channel must have TikTok post and comment access enabled. A disabled feature can return HTTP 403 with a generic error message.
Permissions
For API access tokens and OIDC, use api or the scope for the selected channel (instagramv3:write, facebookv3:write or tiktokv3:write). API access tokens can satisfy a listed scope through the configured hierarchy. OIDC tokens are checked against their scope claims. Authentication, the endpoint’s role allowlist and workspace access rules still apply.
Where returned for a TikTok write failure, X-Wati-Post-Comment-Error-Key provides the reason. Error bodies can be plain text. A TikTok private reply may include JSON provider diagnostics when available.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||

