Reply publicly to the selected comment. For TikTok, send channel, content and tiktok in JSON. The limit is 1,200 Unicode code points. Omit the Instagram author and other provider fields. For Facebook, supply facebook.page_id and content. Use a stable UUID in tiktok.client_request_id for the attempt.
For legacy Instagram, supply top-level post_author_ig_id even if you also supply channel. The unified Instagram branch can derive the author from the selected channel.
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.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||

