TokPortal

v1.23.0
com.tokportal/mcp Checked 5 days ago Published 2 days ago

Managed TikTok/Instagram/YouTube accounts + video posting at scale, operated by human managers.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

tokportal_get_current_user

Get authenticated user. Returns the authenticated workspace: profile, role, analytics access tier and live credit balance. Call once at the start of a session to learn what this key can do.

tokportal_update_current_user_settings

Update safe workspace settings. Updates client-owned workspace profile fields used by Operator context. Does not expose auth, role, credit, staff, or manager settings.

ParameterTypeDescription
body *objectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_get_account_managed_subscription

Get TokPortal Coverage status. Returns the effective TokPortal Coverage status, current 30-day period, account-specific rate, unpaid periods, task access, and an exact timestamped reactivation quote for one eligible saved account. At current_period_end, status and task_access change immediately even if recorded_status remains included or active for a few minutes until the renewal worker persists the transition; period_expired makes that boundary explicit. A zero-credit quote is valid. Use its current_period_end and lock_version snapshot for reactivation. An eligible TikTok or Instagram account…

ParameterTypeDescription
id *stringSaved account ID.

tokportal_reactivate_account_managed_subscription

Reactivate TokPortal Coverage. Reactivates TokPortal Coverage from an explicit GET snapshot, and debits the projected unpaid 30-day periods — read the quote from getAccountManagedSubscription and confirm the amount with the user first. Reactivation is free while the current billing period is already paid or included; Coverage benefits and tasks remain paused until reactivation. At and after current_period_end, the endpoint accepts the effective lapsed state even if recorded_status has not yet been updated by the renewal worker, and charges exactly the projected unpaid periods without adding…

ParameterTypeDescription
body *objectJSON request body.
id *stringSaved account ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_cancel_account_managed_subscription

Pause TokPortal Coverage. Immediately blocks new and ongoing TokPortal work for the account. Payments are not refunded. If a paid or included current period remains, reactivation is free until its original end. Otherwise it costs exactly the unpaid 30-day periods at the rate returned by the Coverage status endpoint.

ParameterTypeDescription
id *stringSaved account ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_list_countries

List available countries. Lists the valid `country` values for bundle creation. Most are ISO-3166-1 alpha-2 (FR, DE, BR), but TokPortal's own codes are the authority and two of them are not alpha-2: the United States is `USA` and the United Kingdom is `UK`. Their ISO aliases `US` and `GB` are accepted and resolved to those two, so send a code from this list verbatim and never assume alpha-2. Call before createBundle or createBundlesBulk: `country` is validated against this list, and a full country name such as "United States" is rejected. `videos_only_countries` applies only to video orders on…

tokportal_list_platforms

List available platforms. Lists the orderable platforms and, per video type, the exact required and optional fields. Call before configuring any slot: TikTok carousels require `tiktok_sound_url`, Instagram posts and reels require `instagram_content_type`, and a story takes exactly one of `video_url` or `story_image_url` and no description. Only TikTok and Instagram can be ordered; YouTube fields exist on the video schema but YouTube bundles are rejected with YOUTUBE_DELAYED.

tokportal_get_credit_costs

Get credit pricing. Authoritative live credit prices and workspace cohort. Call it immediately before any purchase and never hard-code or recall a price. Not every key is orderable: `youtube_account_creation` is listed for reference only (YouTube bundles are rejected with YOUTUBE_DELAYED), and `niche_warming` and `deep_warming` are legacy prices published for backward compatibility only — they are not products a caller may choose, and `advanced_warming` (Advanced Niche Warming, priced per niche target) is the only warming TokPortal sells. `managed_account_subscription` (TokPortal Coverage) r…

tokportal_get_credit_balance

Get credit balance. Returns the currently spendable credit balance and upcoming expirations. Check it before any purchase: a 402 on a mutation means this was short.

tokportal_list_credit_transactions

List credit transactions. Paginated ledger of every credit debit and refund, newest first. Use it to reconcile what a bundle or batch actually cost, since server-side pricing (workspace cohort, contract allowance) can differ from the list price.

ParameterTypeDescription
date_fromstringFilter transactions created on or after this date.
date_tostringFilter transactions created before the day after this date.
pageintegerPage number.
per_pageintegerItems per page.

tokportal_list_bundles

List bundles. Lists your bundles with their lifecycle status and the computed `next_action` (`configure_account`, `configure_videos`, `publish_bundle`, or null). `next_action` is the recommended way to find what a bundle still needs.

ParameterTypeDescription
account_statusstringquery parameter account_status
bundle_typestringquery parameter bundle_type
external_refstringquery parameter external_ref
pageintegerPage number.
per_pageintegerItems per page.
platformstringquery parameter platform
statusstringFilter by bundle status.

tokportal_create_bundle

Create a bundle. Creates and pays an account-only, account-and-videos, or videos-only bundle in one atomic creation checkout. Credits are debited immediately on a successful POST, not when the bundle is published, and THERE IS NO CANCELLATION OR REFUND PATH — read getCreditCosts and getCreditBalance and confirm the total with the user before calling. One bundle produces exactly one account; order several accounts with createBundlesBulk. TikTok and Instagram only: a YouTube bundle is rejected with YOUTUBE_DELAYED even though getCreditCosts lists a YouTube price. Advanced Niche Warming require…

ParameterTypeDescription
body *objectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_create_bundles_bulk

Create bundles in bulk. Creates and pays several bundles in one atomic creation checkout. Credits are debited immediately on a successful POST, not at publication, and THERE IS NO CANCELLATION OR REFUND PATH — read getCreditCosts and getCreditBalance and confirm the total with the user before calling, because the loss is multiplied by accounts_count and platforms. Each bundle produces exactly one account. Warming targets and credits are charged per account, not per batch. Advanced Niche Warming requires wants_advanced_warming: true ALONGSIDE advanced_warming_terms or advanced_warming_terms_c…

ParameterTypeDescription
body *objectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_get_bundle

Get a bundle. Full state of one bundle: status, account configuration, video slot counts, warming purchase, cancellation and remake history, and `next_action`. A remade bundle keeps the same id while its `saved_account_id` changes.

ParameterTypeDescription
id *stringBundle ID.

tokportal_update_bundle

Update bundle settings. Updates mutable bundle metadata: title, external_ref, and auto_finalize_videos. auto_finalize_videos true (the default) approves every delivered video automatically — it counts as final on arrival; set it to false to hold each delivered video for your review, approving with finalizeBundleVideo or pushing back with requestBundleVideoCorrections yourself. Note that anything left in review is auto-finalized about 72 hours after entering it either way.

ParameterTypeDescription
body *objectJSON request body.
id *stringBundle ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_publish_bundle

Publish a bundle. Submits a fully configured bundle to the account-manager marketplace, which is what actually starts the work. Requires status `pending_setup`, a complete account profile, and at least one configured video on an `account_and_videos` bundle — call getBundlePublishReadiness first, it returns every blocker without debiting. A due Coverage period renews here, so this call can debit credits even though the bundle's own cost was charged at creation. Irreversible once a manager accepts: unpublishBundle only works before that, and never refunds. Publish-time date guard: any slot who…

ParameterTypeDescription
id *stringBundle ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_get_bundle_publish_readiness

Check bundle publish readiness. Returns every current publish blocker without mutating the bundle, settling Coverage, or debiting credits. MANAGED_ACCOUNT_TASK_BLOCKED includes details.account_id and details.reason. Fetch GET /accounts/{account_id}/managed-subscription for the authoritative state and exact reactivation quote. A due included or active period can temporarily appear blocked until renewal is settled by cron or an approved mutation.

ParameterTypeDescription
id *stringBundle ID.

tokportal_unpublish_bundle

Unpublish a bundle. Returns a published bundle to `pending_setup` so its account configuration can be edited again. Only works while the bundle is published and no account manager has accepted it (409 otherwise). Credits are NOT refunded and this is not a cancellation: there is no API path to cancel a bundle or recover its credits.

ParameterTypeDescription
id *stringBundle ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_add_video_slots

Add video slots to a bundle. Buys additional video slots on an existing bundle and debits credits immediately (see `video_upload` in getCreditCosts). The slots are non-refundable and there is no cancellation path for this purchase — confirm the exact cost with the user before calling. Configure the new positions with configureBundleVideo, then publish them.

ParameterTypeDescription
body *objectJSON request body.
id *stringBundle ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_add_edit_slots

Add VIDEO-editing slots to a bundle. Buys video-editing slots — professional editing of a video by the account manager — and debits credits immediately (see `video_edit` in getCreditCosts). Non-refundable, with no cancellation path; confirm the exact cost with the user before calling. `edits_quantity` cannot exceed the bundle's `videos_quantity`, one video consumes at most one slot, and a slot is only consumed when that video carries `editing_instructions`. This has nothing to do with editing an account profile — use createAccountEditRequest for that.

ParameterTypeDescription
body *objectJSON request body.
id *stringBundle ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_get_bundle_account

Get bundle account configuration. Returns the current account-profile configuration of a bundle (username, visible name, biography, picture) and its listing status. Read it before configureBundleAccount to see what is already set and whether the profile is still editable.

ParameterTypeDescription
id *stringBundle ID.

tokportal_configure_bundle_account

Configure bundle account profile. Sets the profile of an account that has NOT been delivered yet: username, visible name, biography, profile picture, and link-in-bio on Instagram bundles. Only valid while the bundle is `pending_setup` or `configured` — unpublish first to edit after publishing, and use createAccountEditRequest for an account that is already delivered. This is a full replacement: any field you omit is written back as null, so re-send the whole profile when you change one part of it. `link_in_bio` is stored on Instagram bundles only. On any other platform it is accepted but not…

ParameterTypeDescription
body *objectJSON request body.
id *stringBundle ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_request_bundle_account_corrections

Request account corrections. Moves an in-review account back to pending corrections with reviewer feedback.

ParameterTypeDescription
id *stringBundle ID.
bodyobjectJSON request body.
commentstringJSON body field. May be supplied here or inside body.comment.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
fieldsobjectJSON body field. May be supplied here or inside body.fields.
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_finalize_bundle_account

Finalize account review. Approves an in-review account and marks it finalized.

ParameterTypeDescription
id *stringBundle ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_list_bundle_videos

List bundle video slots. Lists every video slot of a bundle with its position, configuration, schedule and review status. Positions are 1-based and run up to the bundle's `videos_quantity`. Every video carries `platform_signals`, what the platform did with the live post once it exists: `not_recommended` (TikTok Not For Feed / Not Recommended — online but no distribution), `ai_label` (`creator` | `platform`), `sound` (`ok` | `non_commercial` | `removed` | `muted`) with `sound_reason`, and `checked_at`. All fields are null until the post has been checked (~48 h after posting, again at 7 days);…

ParameterTypeDescription
id *stringBundle ID.

tokportal_get_bundle_video

Get video slot configuration. Returns one video slot's configuration, schedule, review status and post link, plus `platform_signals` (TikTok not-recommended flag, AI label, sound status — null until the live post has been checked). Use it to check whether a slot is still inside its review window before finalizing it, or whether the platform is distributing the post at all.

ParameterTypeDescription
id *stringBundle ID.
position *integer1-based video slot position.

tokportal_configure_bundle_video

Configure a video slot. Configures one slot as a video, carousel, or story, and schedules it. A story (TikTok/Instagram only) is a single video OR a single image (provide exactly one of video_url or story_image_url), has no description, and is verified by an account-manager screenshot. Platform-specific fields are only stored on their own platform: `tiktok_sound_url` on TikTok, every `instagram_*` field on Instagram, every `youtube_*` field on YouTube. A field belonging to another platform is accepted and not stored, but it is no longer discarded in silence: the response lists those names in `…

ParameterTypeDescription
body *objectJSON request body.
id *stringBundle ID.
position *integer1-based video slot position.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_patch_bundle_video

Patch video metadata or schedule. Changes a configured slot's name, description, external reference or schedule without re-sending its media. Rescheduling obeys the maximum of 3 videos per day per bundle AND — enforced since 2026-08-26, where before only the per-day cap ran — the same minimum publish lead time as configuration: today+1 with a delivered or existing account, today+3 while the account is still being created, in UTC. Today and any past date are rejected with `INVALID_DATE` carrying `min_days_ahead` and `earliest_allowed` (YYYY-MM-DD), the same shape the configure PUT returns.…

ParameterTypeDescription
body *objectJSON request body.
id *stringBundle ID.
position *integer1-based video slot position.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_batch_configure_bundle_videos

Configure video slots in bulk. Configures many video slots in one call after a single account-level Coverage preflight. Partial success: this call returns HTTP 200 even when some or all rows are rejected. Read `configured`, `results` and `errors[]` and never infer success from the status code — rows breaking the 3-videos-per-day cap or the minimum lead time fail individually while the rest succeed, and the paid options they carry are only charged for the rows that succeeded. An `auto_publish` failure never fails the request; inspect `auto_publish.blockers`. TOP-LEVEL ONLY on this endpoint: o…

ParameterTypeDescription
body *objectJSON request body.
id *stringBundle ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_publish_all_bundle_videos

Publish all configured videos on an active bundle. Hands every configured, unpublished slot on an active bundle to the account manager for posting. Publishing is irreversible once a manager has posted; call unscheduleBundleVideo beforehand to hold a slot back. Slots whose target date has already reached today or the past are moved forward to the earliest allowed day, respecting the 3-videos-per-day-per-bundle cap (an overflowing day spills to the next); slots still in the future are left alone, and the publish never fails because of it. When something moved, the response carries `dates_adjuste…

ParameterTypeDescription
id *stringBundle ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_import_bundle_videos_csv

Import video slots from CSV. Uploads a CSV file, downloads the referenced media, and configures the available video slots. Partial success: this call returns HTTP 200 even when some or all rows are rejected. Read `imported`, `results` and `errors[]` and never infer success from the status code — rows breaking the 3-videos-per-day cap or the minimum lead time fail individually while the rest succeed. An `auto_publish` failure never fails the request; inspect `auto_publish.blockers`, and `auto_publish.adjusted_videos` when a stale date was moved forward at publish time. The date column is `tar…

ParameterTypeDescription
file_path *stringLocal path to upload for multipart field file.
id *stringBundle ID.
auto_publishbooleanMultipart form field auto_publish.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_publish_bundle_video

Publish one video slot. Hands one configured slot to the account manager for posting on its target date. Irreversible once the manager has posted. If that target date has already reached today or the past it is moved forward to the earliest allowed day rather than published as instantly-due work, and the response then carries `date_adjusted: true`, `original_date`, `new_date` (both YYYY-MM-DD) and `hint`. Those four fields were documented long before they were real: until 2026-08-26 the RPC never returned them, and the slot published on its stale date. Requires active TokPortal Coverage on the…

ParameterTypeDescription
id *stringBundle ID.
position *integer1-based video slot position.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_reset_bundle_video

Reset one video slot. Clears a slot's configuration so it can be configured again. Only works from `pending` or `configured`: to clear a published or accepted slot call unscheduleBundleVideo first, then reset. The slot's credits are not refunded and any paid option already charged on it stays charged. Requires active TokPortal Coverage on the resolved saved account, or permanent grandfathering: a due period renews automatically at the account's stored rate immediately before execution, and nothing starts if it cannot renew. See getAccountManagedSubscription.

ParameterTypeDescription
id *stringBundle ID.
position *integer1-based video slot position.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_unschedule_bundle_video

Unschedule one video slot. Pulls a published slot back out of the account-manager queue and returns it to `configured`, so it can be rescheduled or reset. Does not refund the slot. Requires active TokPortal Coverage on the resolved saved account, or permanent grandfathering: a due period renews automatically at the account's stored rate immediately before execution, and nothing starts if it cannot renew. See getAccountManagedSubscription.

ParameterTypeDescription
id *stringBundle ID.
position *integer1-based video slot position.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_finalize_bundle_video

Finalize video review. Approves a delivered video and releases the account manager's payout — the review window cannot be reopened afterwards. Only valid while the slot is `in_review`. Any slot left in review is auto-finalized about 72 hours after entering it, so act inside that window. Requires active TokPortal Coverage on the resolved saved account, or permanent grandfathering: a due period renews automatically at the account's stored rate immediately before execution, and nothing starts if it cannot renew. See getAccountManagedSubscription.

ParameterTypeDescription
id *stringBundle ID.
position *integer1-based video slot position.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_request_bundle_video_corrections

Request video corrections. Sends a delivered video back to the account manager with written feedback instead of approving it. Only valid while the slot is `in_review`, i.e. inside the ~72-hour window before it auto-finalizes. The response does not echo `fields`, so keep your own record of what you flagged. Requires active TokPortal Coverage on the resolved saved account, or permanent grandfathering: a due period renews automatically at the account's stored rate immediately before execution, and nothing starts if it cannot renew. See getAccountManagedSubscription.

ParameterTypeDescription
id *stringBundle ID.
position *integer1-based video slot position.
bodyobjectJSON request body.
commentstringJSON body field. May be supplied here or inside body.comment.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
fieldsobjectJSON body field. May be supplied here or inside body.fields.
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_fix_bundle_video_download

Fix a broken video download. Replaces a manager-flagged broken video or carousel download URL and clears the download-issue flag. Requires active TokPortal Coverage on the resolved saved account, or permanent grandfathering: a due period renews automatically at the account's stored rate immediately before execution, and nothing starts if it cannot renew. See getAccountManagedSubscription.

ParameterTypeDescription
body *objectJSON request body.
id *stringBundle ID.
position *integer1-based video slot position.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_list_accounts

List delivered accounts. Lists delivered saved accounts (real accounts that exist on the platform). Note the product has two ids: the account *listing* id carried by a bundle is stable across remakes, while the `saved_account_id` returned here is replaced every time an account is remade.

ParameterTypeDescription
bannedstringFilter by ban state. true returns only banned accounts (staff-validated or park-scan detected, matching the `banned` response field); false returns only non-banned accounts.
countrystringFilter by country code or country alias.
pageintegerPage number.
per_pageintegerItems per page.
platformstringFilter by platform.

tokportal_list_account_bans

List ban reports and appeals. Pollable list of validated ban reports for the caller's delivered accounts, covering the whole lifecycle: appeal_pending (platform appeal filed, account unavailable but NOT yet banned), appeal_accepted (account survived), appeal_refused / no_appeal_banned (confirmed ban), and the staff commercial resolution (refund / remake / no_remake with a machine-readable reason_code such as tos_ban). While a report is appeal_pending, do NOT order a replacement account: a duplicate can trigger a ban-evasion strike on the platform, which is why TokPortal itself waits for the ap…

ParameterTypeDescription
account_idstringFilter by saved account ID.
include_screenshotsstringWhen true, each report includes a signed 7-day URL of the ban-evidence screenshot when one exists.
pageintegerPage number.
per_pageintegerItems per page.
resolutionstringFilter by staff commercial resolution. 'pending' selects confirmed bans still awaiting the staff decision.
sincestringOnly reports updated at or after this ISO 8601 timestamp. Use the highest updated_at you have seen as a polling watermark.
statusstringFilter by appeal lifecycle status.

tokportal_get_account

Get a delivered account. Returns one delivered account: handle, platform, Coverage state, ban state and warming summary. A `saved_account_id` invalidated by a remake returns 404 — re-read the bundle to get the new one.

ParameterTypeDescription
id *stringSaved account ID.

tokportal_update_account_commenting_profile

Update account commenting profile. Sets the internal commenting-autopilot metadata (niche, persona, goal, language, tracked handles) that TokPortal uses to draft comments for this account. It NEVER changes the account's public profile — use createAccountEditRequest to change a delivered account's username, visible name, biography, picture or link. The account must belong to the API key owner and must have active TokPortal Coverage, unless it is permanently grandfathered. Revealed/detached, banned, paused, lapsed and unrecoverable accounts are read-only.

ParameterTypeDescription
body *objectJSON request body.
id *stringSaved account ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_list_account_bundles

List bundles for a delivered account. Lists every bundle attached to one delivered account, including cancelled ones. Use it to see an account's full order history before ordering more work on it.

ParameterTypeDescription
id *stringSaved account ID.
pageintegerPage number.
per_pageintegerItems per page.
statusstringFilter by bundle status.

tokportal_retrieve_account_verification_code

Retrieve latest account verification code. Retrieving a verification code is the same irreversible first-access event as revealing credentials. Its policy is determined by this saved account's created_at timestamp against the immutable managed_pricing_new_customer_cutover_at value, never by the workspace action-pricing cohort or August 14 grace deadline. A saved account created before the cutoff permanently keeps the prior API contract: 0 credits, no new versioned acknowledgment body required, no TokPortal detachment, existing task access remains available, and support plus ban coverage end af…

ParameterTypeDescription
id *stringSaved account ID.
bodyobjectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…

tokportal_reveal_account_credentials

Reveal delivered account credentials. The first credential or verification-code access is priced from this saved account's created_at timestamp against the immutable managed_pricing_new_customer_cutover_at value, never from the workspace action-pricing cohort or August 14 grace deadline. A saved account created before the cutoff permanently keeps the prior API contract: the reveal costs 0 credits, requires no new versioned acknowledgment body, and is irreversible; support and ban coverage end, but the account is not detached and existing TokPortal task access remains available. A saved account…

ParameterTypeDescription
id *stringSaved account ID.
bodyobjectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…

tokportal_can_refresh_account_analytics

Check analytics refresh availability. Reports whether a manual analytics refresh is currently allowed and when the next one will be. Call it before refreshAccountAnalytics / refreshAnalyticsAccount to avoid a 429 cooldown (6 h for connected accounts, 24 h for the public fallback).

ParameterTypeDescription
id *stringSaved account ID.

tokportal_refresh_account_analytics

Refresh account analytics. Legacy account-analytics refresh path, kept for older integrations; new code should call refreshAnalyticsAccount. Comment collection is gated on three conditions: includeComments only runs when force is true, includePosts is not false, and the workspace holds the full analytics tier. The two you control are refusals, not silence — includeComments without force, or with includePosts false, fails with INVALID_FIELD for MCP callers and is reported for direct REST callers. The one you cannot control, the analytics tier, comes back on the response as applied.include_com…

ParameterTypeDescription
body *objectJSON request body.
id *stringSaved account ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_get_account_edit_request

Get active account edit request. Returns the account's profile edit requests, newest first, with their status and credit cost. Only one request can be open per account at a time, so check here before calling createAccountEditRequest.

ParameterTypeDescription
id *stringSaved account ID.

tokportal_create_account_edit_request

Request profile edits for a delivered account. Requests profile changes on an account that is already delivered and debits 8 credits. This is the ONLY way to change a delivered account's public username, visible name, biography, picture or link-in-bio: addEditSlots is unrelated (it buys video-editing slots) and configureBundleAccount only works before the account is delivered. Besides the username and visible name, supply at least one of requested_biography, requested_profile_picture_url or requested_link_in_bio — a request that changes nothing else is rejected. Only one request can be open…

ParameterTypeDescription
body *objectJSON request body.
id *stringSaved account ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_rewarm_account

Order Advanced Niche Warming (rewarm) on a delivered account. Starts an Advanced Niche Warming session on a saved account that is already delivered: for each provided term the manager screen-records a session that opens on the account profile (handle visible), searches the term on the account's platform, watches videos from the results, engages with them (likes/saves) and leaves a comment. Every recording is verified before completion. The standard rate is 5 credits per term, charged per target and never per day (3-30 terms, multiples of 3), with a 15-credit minimum; GET /credit-costs returns…

ParameterTypeDescription
body *objectJSON request body.
id *stringSaved account ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_configure_bundle_warming_terms

Configure the niche targets of a count-only Advanced Niche Warming purchase. Only for a bundle created with advanced_warming_terms_count (deferred targets). To warm an account that is already delivered, use rewarmAccount instead; this endpoint answers 404 WARMING_SESSION_NOT_FOUND when there is no count-only purchase to configure. Must provide EXACTLY the purchased number of targets. One-shot: once configured the targets cannot be changed. Unlike PUT /bundles/{id}/account, this stays available at any account status after the manager accepted the mission or submitted the account, in which case…

ParameterTypeDescription
body *objectJSON request body.
id *stringBundle ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_list_account_warming_sessions

List Advanced Niche Warming sessions for an account. Lists Advanced Niche Warming sessions (newest first) for a saved account you own, including per-term tasks, per-term reports, proof links, and the aggregated session report when completed. Tasks unlock over 3 calendar days in the manager's timezone and, once created, do not expire.

ParameterTypeDescription
id *stringSaved account ID.

tokportal_get_warming_session

Get an Advanced Niche Warming session. Returns one Advanced Niche Warming session you own: status, per-term tasks (with 3-calendar-day dispatch in the manager's timezone, verification status, client report and proof video link), and the aggregated report on completion. Created tasks remain open until completed; they do not expire.

ParameterTypeDescription
id *stringWarming session ID.

tokportal_generate_warming_terms

Generate Advanced Niche Warming search terms. Generates platform-appropriate Advanced Niche Warming search terms (niche targets) from a free-text niche description (max 1000 characters). This is free and no credits are charged. Call it before buying warming rather than inventing terms: pass the result to advanced_warming_terms (bundle creation or PUT /bundles/{id}/warming-terms deferred configuration) or to search_terms (rewarmAccount).

ParameterTypeDescription
body *objectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_list_webhook_events

List webhook event catalog. Returns the supported webhook event types with, for each one, its description, exact trigger condition, payload schema and an example payload, plus the delivery envelope and signature scheme. Read it before subscribing: several names are counter-intuitive — account.published fires when you publish the order, not when the account is delivered (that is account.in_review), and warming.session_started is not emitted for warming whose terms were set at bundle creation. This endpoint is public so teams can inspect webhook contracts before creating an API key.

tokportal_list_webhook_endpoints

List webhook endpoints. Lists your webhook endpoints with their subscribed events and enabled state. Signing secrets are never returned here — only once, at creation.

ParameterTypeDescription
enabledbooleanFilter by enabled state.
eventstringFilter endpoints subscribed to an event.
pageintegerPage number.
per_pageintegerItems per page.

tokportal_create_webhook_endpoint

Create a webhook endpoint. Creates a webhook endpoint and returns its signing secret once — store it, because a lost secret can only be replaced by deleting the endpoint and creating a new one. Call listWebhookEvents before choosing `events`: it returns the description, trigger condition and payload schema of each event, and several names are counter-intuitive. In particular account.published fires when YOU publish the order, not when the account is delivered — the delivery signal is account.in_review, and account.finalized fires when the account review is approved. Do not send Idempotency…

ParameterTypeDescription
body *objectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…

tokportal_get_webhook_endpoint

Get a webhook endpoint. Returns one webhook endpoint's URL, subscribed events and enabled state. The signing secret is not returned; if you lost it, delete this endpoint and create a replacement.

ParameterTypeDescription
id *stringWebhook endpoint ID.

tokportal_update_webhook_endpoint

Update a webhook endpoint. Changes an endpoint's URL, subscribed events, description or enabled state. The signing secret is unchanged and is never re-returned. Call listWebhookEvents for the meaning, trigger condition and payload of each event type before changing the subscription list.

ParameterTypeDescription
body *objectJSON request body.
id *stringWebhook endpoint ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_delete_webhook_endpoint

Delete a webhook endpoint. Permanently deletes a webhook endpoint and invalidates its signing secret. Events that could not be delivered are not queued for a replacement endpoint.

ParameterTypeDescription
id *stringWebhook endpoint ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_list_webhook_deliveries

List webhook deliveries. Lists delivery attempts for one endpoint with the response status and body. Deliveries are at-least-once and retries reuse the same `TokPortal-Event-Id` — deduplicate on that id, not on the delivery id.

ParameterTypeDescription
id *stringWebhook endpoint ID.
event_typestringFilter by event type.
pageintegerPage number.
per_pageintegerItems per page.
successbooleanFilter by delivery success.

tokportal_retry_webhook_delivery

Retry a webhook delivery. Resends the stored webhook payload to the endpoint's current URL with a fresh TokPortal-Signature header. The event ID is preserved so receivers can keep idempotent processing.

ParameterTypeDescription
delivery_id *stringWebhook delivery ID.
id *stringWebhook endpoint ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_test_webhook_endpoint

Send a test webhook. Sends a signed webhook.test event to the endpoint and records the delivery result.

ParameterTypeDescription
id *stringWebhook endpoint ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_upload_video

Create a video upload URL. Returns a short-lived presigned upload capability for a video file. The `public_url` it returns is what goes into `video_url` on configureBundleVideo — images are the opposite and require the upload response's `storage_path`. Do not send Idempotency-Key. The successful response contains a secret and is never stored in the replay ledger. A request with the header is rejected with IDEMPOTENCY_KEY_NOT_ALLOWED_FOR_SENSITIVE_RESPONSE (400) before any ledger claim or operation execution.

ParameterTypeDescription
body *objectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…

tokportal_upload_video_direct

Upload a video file directly. Uploads multipart/form-data directly through TokPortal and returns the public video URL, which goes straight into `video_url` on configureBundleVideo.

ParameterTypeDescription
bundle_id *stringMultipart form field bundle_id.
file_path *stringLocal path to upload for multipart field file.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_upload_image

Create an image upload URL. Returns a short-lived signed upload URL and upload token for an image. Use the returned `storage_path` — NOT `public_url` — for `carousel_images` and `profile_picture_url`; videos are the opposite, uploadVideo returns a `public_url` that goes straight into `video_url`. The stored object's extension comes from the declared `content_type` (image/png stores a .png), and only falls back to the extension in `filename` when the content type is unknown, so send the content type that matches the bytes you are about to PUT. `storage_path` on the response is the key the o…

ParameterTypeDescription
body *objectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…

tokportal_upload_image_direct

Upload an image file directly. Uploads multipart/form-data directly through TokPortal and returns storage details. Use the returned `storage_path` — NOT `public_url` — for `carousel_images` and `profile_picture_url`. HEIF/HEIC may be converted to JPEG. `purpose` is validated like it is on the JSON upload endpoints: an explicit value other than `carousel` or `profile_picture` is refused with INVALID_FIELD for MCP callers and reported in `meta.ignored_fields` for direct REST callers — it is no longer quietly rounded down to `carousel`. Omitting `purpose` still means `carousel`, which is th…

ParameterTypeDescription
bundle_id *stringMultipart form field bundle_id.
file_path *stringLocal path to upload for multipart field file.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.
purposestringMultipart form field purpose.

tokportal_upload_image_from_url

Import an image from URL. Fetches a public direct image URL and stores it permanently in TokPortal storage. Use the returned `storage_path` — NOT `public_url` — for `carousel_images` and `profile_picture_url`.

ParameterTypeDescription
body *objectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_get_analytics_dashboard

Get analytics dashboard. Portfolio-level analytics across your accounts for a date range. Call getAnalyticsContract before interpreting these numbers: top-line values are lifetime per-post totals, connected-account values are rolling windows, the two intentionally do not mirror each other, and your access tier may redact metrics — a missing field means unavailable, never zero.

ParameterTypeDescription
accountstringRepeatable account filter.
countrystringRepeatable country filter.
fromstringquery parameter from
platformstringRepeatable platform filter.
tostringquery parameter to
workspacestringquery parameter workspace

tokportal_get_analytics_contract

Get analytics data contract. Returns the Analytics v2 contract, current access payload, metric semantics, freshness targets, and redaction rules.

tokportal_export_analytics_videos

Export analytics videos CSV. CSV export of post-level analytics for the selected accounts and date range. Requires the Creator tier or above. Call getAnalyticsContract before interpreting these numbers: top-line values are lifetime per-post totals, connected-account values are rolling windows, the two intentionally do not mirror each other, and your access tier may redact metrics — a missing field means unavailable, never zero.

ParameterTypeDescription
accountstringRepeatable account filter.
countrystringRepeatable country filter.
fromstringquery parameter from
platformstringRepeatable platform filter.
qstringSearch query.
tostringquery parameter to
workspacestringquery parameter workspace

tokportal_create_analytics_report

Create analytics web report. Creates a shareable Analytics v2 web report and returns its bearer-like access token and URL. The body is validated before anything is rendered, so a malformed request fails with INVALID_FIELD instead of quietly producing a wrong report for your end client. `from` and `to` are calendar dates in YYYY-MM-DD; a full ISO timestamp is accepted and truncated to its date, and anything else is refused rather than treated as "no filter" (which used to widen the report to the account's entire history). An inverted window (`from` after `to`) is refused too. `template` is a pu…

ParameterTypeDescription
body *objectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…

tokportal_export_analytics_report_html

Export analytics report HTML. Creates a standalone downloadable HTML analytics report from the same body as createAnalyticsReport, and validates it identically: `from` and `to` are YYYY-MM-DD (a full ISO timestamp is truncated to its date, anything else is refused with INVALID_FIELD rather than treated as no filter), an inverted window is refused, `template` is the published enum (executive, agency, creator, minimal, growth, board) and an unknown value is refused instead of becoming executive, and `brandAccent` must be #rrggbb or #rgb. The body of the response is the HTML document itself, so w…

ParameterTypeDescription
body *objectJSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_get_analytics_series

Get analytics time series. Daily or weekly time series for one metric, built from stored snapshots and date-scoped rollups — never a live fetch. `mode` selects cumulative totals, per-period gains, or raw snapshot values. Series are excluded on the Starter tier. Call getAnalyticsContract before interpreting these numbers: top-line values are lifetime per-post totals, connected-account values are rolling windows, the two intentionally do not mirror each other, and your access tier may redact metrics — a missing field means unavailable, never zero.

ParameterTypeDescription
accountstringRepeatable account filter.
fromstringquery parameter from
granularitystringquery parameter granularity
metricstringquery parameter metric
modestringquery parameter mode
tostringquery parameter to

tokportal_get_analytics_account

Get account analytics drilldown. Analytics v2 drilldown for one account: current metrics, top posts and demographics. This is the current endpoint; getAccountAnalytics is the older compatibility shape of the same data. Call getAnalyticsContract before interpreting these numbers: top-line values are lifetime per-post totals, connected-account values are rolling windows, the two intentionally do not mirror each other, and your access tier may redact metrics — a missing field means unavailable, never zero.

ParameterTypeDescription
id *stringSaved account ID.

tokportal_refresh_analytics_account

Refresh analytics account. Refreshes an owner-scoped account through Analytics v2. Comment collection is gated on three conditions: includeComments only runs when force is true, includePosts is not false, and the workspace holds the full analytics tier. The two you control are refusals, not silence — includeComments without force, or with includePosts false, fails with INVALID_FIELD for MCP callers and is reported for direct REST callers. The one you cannot control, the analytics tier, comes back on the response as applied.include_comments plus applied.include_comments_dropped_reason. The ca…

ParameterTypeDescription
body *objectJSON request body.
id *stringSaved account ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_list_analytics_account_raw_snapshots

List raw account analytics snapshots. Returns owner-scoped stored raw analytics payloads for a saved account. Full analytics tier only.

ParameterTypeDescription
id *stringSaved account ID.
fromstringquery parameter from
limitintegerquery parameter limit
sourcestringquery parameter source
tostringquery parameter to

tokportal_get_account_analytics

Get account analytics compatibility view. Legacy compatibility view of one account's analytics, kept for older integrations. New code should call getAnalyticsAccount instead. Call getAnalyticsContract before interpreting these numbers: top-line values are lifetime per-post totals, connected-account values are rolling windows, the two intentionally do not mirror each other, and your access tier may redact metrics — a missing field means unavailable, never zero.

ParameterTypeDescription
id *stringSaved account ID.

tokportal_list_account_video_analytics

List post analytics for an account. Post-level analytics for one account, sortable by views, likes, engagement rate or upload date. Values are lifetime per-post totals. Call getAnalyticsContract before interpreting these numbers: top-line values are lifetime per-post totals, connected-account values are rolling windows, the two intentionally do not mirror each other, and your access tier may redact metrics — a missing field means unavailable, never zero.

ParameterTypeDescription
id *stringSaved account ID.
pageintegerPage number.
per_pageintegerItems per page.
sort_bystringquery parameter sort_by
sort_orderstringquery parameter sort_order

tokportal_get_video_analytics

Get single video analytics. Lifetime metrics for one tracked post. Interpret them with getAnalyticsContract: these are lifetime per-post totals and deliberately do not match the rolling-window figures shown for a connected account. Also returns `platform_signals` (not recommended, AI label, sound) and `signal_insights` (followers gained, audience split, impression sources, retention curve — Creator tier and above).

ParameterTypeDescription
id *stringVideo ID.

tokportal_create_video_ad_code_request

Request an ad code (TikTok Spark Code / Instagram Partner Code) for a finalized video. Requests an ad code (TikTok Spark Code or Instagram Partner Code) for one finalized video and debits 7 credits, which are not refundable. The platform is resolved from the video itself and cannot be chosen. The video must be finalized on TikTok or Instagram with a live post link. Active TokPortal Coverage and a routable active account manager are required. TokPortal uses the account's current active manager, then its still-active manager relationship, then eligible non-cancelled order history. Completed bund…

ParameterTypeDescription
body *objectJSON request body.
id *stringVideo ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_get_video_ad_code_request

Get / poll the ad code for a video. Returns the latest ad code request for the video. The `code` field is null until the manager submits it (status `in_review`) or it is delivered (status `finalized`).

ParameterTypeDescription
id *stringVideo ID.

tokportal_get_comment_pulse

Get comment pulse analytics. Aggregated comment sentiment and themes across your posts, served from the analytics comment cache — never a live fetch. Full analytics tier only. Filters are not combinable: when `post` is supplied it takes precedence and `platform`, `country`, `account`, `workspace`, `from` and `to` are all ignored, and at most 12 post ids are sampled.

ParameterTypeDescription
accountstringquery parameter account
countrystringquery parameter country
fromstringquery parameter from
limitintegerquery parameter limit
platformstringquery parameter platform
poststringquery parameter post
postLimitintegerquery parameter postLimit
tostringquery parameter to

tokportal_list_analytics_account_comments

List comments for an account post. Returns cached comment text for one tracked post of an account. Full analytics tier only; this read never calls the platform live.

ParameterTypeDescription
id *stringSaved account ID.
limitintegerquery parameter limit
postIdstringquery parameter postId
trackedPostIdstringquery parameter trackedPostId

tokportal_list_analytics_post_raw_snapshots

List raw post analytics snapshots. Returns owner-scoped stored raw analytics payloads for a tracked post. Full analytics tier only.

ParameterTypeDescription
id *stringTracked post ID.
fromstringquery parameter from
limitintegerquery parameter limit
sourcestringquery parameter source
tostringquery parameter to

tokportal_list_analytics_signals

List posts flagged by the platform. Owner-scoped list of posted videos carrying a platform signal, newest first: TikTok `not_recommended` (Not For Feed / Not Recommended — the post stays online but is excluded from For You and typically sits at 0 views), `ai_label` (`creator` = declared at posting, `platform` = applied by TikTok moderation) and `sound_status` (`non_commercial` = cannot be promoted, `removed` = pulled for copyright, `muted` = Instagram). Each row carries `platform_signals` (the same object returned on every video by GET /bundles/{id}/videos) and, from the Creator tier, `signa…

ParameterTypeDescription
accountstringRepeatable saved account filter.
fromstringOnly signals updated after this instant.
limitintegerquery parameter limit
offsetintegerquery parameter offset
signalstringOnly posts carrying this signal. Omit for any signal.
tostringOnly signals updated before this instant.

tokportal_list_comment_tasks

List comment tasks. Lists owned comment tasks. execution_blocked and execution_block_reason identify tasks paused by inactive TokPortal Coverage; reads remain available while execution is paused.

ParameterTypeDescription
pageintegerPage number.
per_pageintegerItems per page.
saved_account_idstringFilter by a user-owned saved account ID.
statusstringFilter by one status or a comma-separated list of statuses.

tokportal_create_comment_tasks

Create comment tasks. Creates one comment task or a partial-success batch of up to 200. Each accepted task costs 1 credit. The target is any public TikTok or Instagram video, including a third party's — that is the intended use — while the posting account must be one of your own delivered accounts and its platform must match the target's (COMMENT_PLATFORM_MISMATCH otherwise). Deduplicate locally on (saved_account_id, target URL, comment_text): two different Idempotency-Keys carrying the same comment bill twice. The saved account must be client-owned, manager-assigned, and allowed to execut…

ParameterTypeDescription
body *JSON request body.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_get_comment_task

Get a comment task. Returns one owned comment task, including whether inactive TokPortal Coverage currently blocks manager execution and the stable block reason.

ParameterTypeDescription
id *stringComment task ID.

tokportal_delete_comment_task

Cancel a pending comment task. Cancels an owned task only while its status is pending. The terminal transition and refund of the task's exact stored credit cost commit atomically and are idempotent. Current tasks refund 1 credit; credits_refunded remains authoritative for historical tasks. Cancellation remains available when Coverage is paused because it stops pending work rather than executing it. Reuse the same Idempotency-Key after an uncertain transport result.

ParameterTypeDescription
id *stringComment task ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_approve_comment_task

Approve a manually confirmed comment task. Approves and finalizes an owned manually_confirmed task. Execution is blocked while TokPortal Coverage is inactive; inspect MANAGED_ACCOUNT_TASK_BLOCKED and reactivate a recoverable account first.

ParameterTypeDescription
id *stringComment task ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_dispute_comment_task

Dispute a manually confirmed comment task. Returns an owned manually_confirmed task to pending corrections. Execution is blocked while TokPortal Coverage is inactive; inspect MANAGED_ACCOUNT_TASK_BLOCKED and reactivate a recoverable account first.

ParameterTypeDescription
body *objectJSON request body.
id *stringComment task ID.
dry_runbooleanSimulate this call: full validation and the real price, but nothing is created, no credits are debited, and no Idempotency-Key is consumed. Returned identifiers are synthetic and only usable in other…
idempotency_keystringOptional Idempotency-Key header for safe retries.

tokportal_list_comment_task_verifications

List comment task verification events. Lists verifier attempts for one owned task. This read remains available while TokPortal Coverage pauses task execution.

ParameterTypeDescription
id *stringComment task ID.