get_tiktok_post_ad_authorization
Read a post’s Spark-Ads authorization status read-only
Description
Read the Spark-Ads authorization status of a post the authorized account owns — whether it is promotable, its authorization CODE, and the window the authorization runs for. A SPARK AD CANNOT OUTLIVE ITS AUTHORIZATION, so check the end time before building a campaign around a post. TIKTOK ERRORS RATHER THAN ANSWERING when a post has no authorization code at all, so a not-found style refusal from here almost always means Ad authorization was never turned on (or the code was deleted) — turn it on with set_tiktok_post_ad_authorization — and not that anything is broken. NEEDS THE TIKTOK ACCOUNT AUTHORIZATION (see tiktok_account_status). Read-only, free.
Parameters
| Parameter | Type | Description |
|---|---|---|
itemIdrequired | string | the TikTok post id |
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/get_tiktok_post_ad_authorization.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_tiktok_post_ad_authorization","arguments":{"itemId":"<string>"}}}
CLI
hermoso call get_tiktok_post_ad_authorization --json '{"itemId":"<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
set_tiktok_post_ad_authorizationTurn Spark-Ads authorization on or off for the brand’s own posttiktok_account_statusCheck the TikTok account authorizationextend_tiktok_post_ad_authorizationExtend a post’s Spark-Ads authorizationupload_tiktok_comment_imageUpload an image for a TikTok commentdelete_tiktok_post_ad_authorizationDelete a post’s Spark-Ads authorization codesearch_tiktok_locationsFind a TikTok location tagmoderate_tiktok_commentLike, hide, pin or delete a TikTok commentreply_to_tiktok_commentReply to a comment on the brand’s TikTok postcomment_on_tiktok_videoPost a new comment on the brand’s own TikTok postlist_tiktok_comment_repliesList every reply to one TikTok comment