request_tiktok_tto_spark_authorization
Ask a TikTok One creator for Spark Ads authorization destructive
Description
Ask the creator of a campaign video for Spark Ads authorization, so the brand can run their organic post as an ad. THIS IS THE ONLY WAY TO OBTAIN A SPARK ADS CODE WITHOUT THE CREATOR PASTING ONE OUT OF THE TIKTOK APP BY HAND: once they accept, get_tiktok_tto_spark_authorization hands back the code that authorize_tiktok_ads_spark_post takes, which then makes the post usable by create_tiktok_ads_ad. THE NUMBER OF DAYS IS A REQUEST, NOT A SETTING: TikTok says the creator picks the actual window when approving, so read the granted dates back rather than assuming what was asked for. action "EXTEND" lengthens an authorization the creator has already approved. TikTok returns no confirmation body for this call, so the state in the reply was read back separately rather than echoed. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
ttoAccountId | string | TikTok One account id from list_tiktok_tto_accounts; omit when only one account is reachable |
videoIdrequired | string | a video the creator has already linked to the campaign |
authorizationDays | number | 1-365, TikTok defaults to 30: a REQUEST, not a guarantee |
action | "EXTEND" | EXTEND adds the days to an authorization already approved |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/request_tiktok_tto_spark_authorization.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"request_tiktok_tto_spark_authorization","arguments":{"videoId":"<string>"}}}
CLI
hermoso call request_tiktok_tto_spark_authorization --json '{"videoId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
get_tiktok_tto_spark_authorizationCheck a TikTok One Spark Ads authorizationauthorize_tiktok_ads_spark_postApply a TikTok Spark Ads authorization codecreate_tiktok_ads_adCreate a TikTok adtiktok_tto_campaign_reportReport on a TikTok One creator campaignlist_tiktok_tto_link_requestsList TikTok One video-linking requestsmanage_tiktok_tto_anchorList, create or delete TikTok webpage anchorslink_tiktok_tto_videoAsk a creator to link a video to a TikTok One campaignupdate_tiktok_tto_campaignAdd creators or ad accounts to a TikTok One campaigncreate_tiktok_tto_campaignCreate a TikTok One creator campaignlist_tiktok_tto_campaignsList TikTok One creator campaigns