hermosodocs

request_tiktok_tto_spark_authorization

Ask a TikTok One creator for Spark Ads authorization destructive

Area: TIKTOK ONE · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
ttoAccountIdstringTikTok One account id from list_tiktok_tto_accounts; omit when only one account is reachable
videoIdrequiredstringa video the creator has already linked to the campaign
authorizationDaysnumber1-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.

All 759 Ad campaign management tools · tools.json