tokportal_create_comment_tasks
Create up to 200 comment tasks for TikTok or Instagram. Post a comment under a video or reply to a specific comment using client-owned, manager-assigned accounts. Charged 1 credit per accepted task, with rejected rows never billed.
Instructions
Create comment tasks. Creates one comment task or a partial-success batch of up to 200. Each accepted task costs 1 credit. The saved account must be client-owned, manager-assigned, and allowed to execute tasks by TokPortal Coverage, unless it is permanently grandfathered. TokPortal locks and revalidates the account and Coverage before the accepted-task debit and all accepted inserts commit in one transaction. Rejected rows are never charged. Read credits_charged instead of calculating it from the request. Send an Idempotency-Key and reuse the same key, method, path, and body after an uncertain transport result so the completed response is replayed without a second charge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON request body. | |
| Idempotency-Key | No | Strongly recommended for this credit or workflow mutation. Use one unique key per logical request and reuse the same key only with the same method, path, query, and body after an uncertain result. Maximum 255 characters. | |
| idempotency_key | No | Optional Idempotency-Key header for safe retries. |