tokportal_create_comment_tasks
Post comments on TikTok and Instagram videos or reply to comments using client-owned accounts. Submit up to 200 tasks in one request, each costing one credit.
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. |