# Hermoso: extend_tiktok_post_ad_authorization · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/extend_tiktok_post_ad_authorization/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / extend_tiktok_post_ad_authorization

# `extend_tiktok_post_ad_authorization`

Extend a post’s Spark-Ads authorization

Area: TIKTOK ACCOUNT · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Extend how long a post the authorized account owns stays promotable as a Spark Ad — and REGENERATE its code if it was deleted. THE DAYS ARE ADDED, NOT SET: TikTok's own example is that a post with 180 days remaining, extended by 180, ends up at 360 — so passing '365' to a post that already has time left does not mean 'expires in a year'. Must be one of 7, 30, 60, 180, 365. Ad authorization has to be ON already (set_tiktok_post_ad_authorization) or TikTok refuses. The reply reads the new window back, because TikTok's own response body is empty. NEEDS THE TIKTOK ACCOUNT AUTHORIZATION (see tiktok_account_status).

## Parameters

Parameter Type Description

`itemId` required `string` the TikTok post id

`authorizationDays` `number` 7 | 30 | 60 | 180 | 365 — ADDED to whatever is left, not set as an absolute. Default 30.

## 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/extend_tiktok_post_ad_authorization`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"extend_tiktok_post_ad_authorization","arguments":{"itemId":"<string>"}}}`
**CLI**

`hermoso call extend_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](https://hermoso.ai/docs/credits/).

## Related tools

- [set_tiktok_post_ad_authorization](https://hermoso.ai/docs/reference/publish/set_tiktok_post_ad_authorization/) Turn Spark-Ads authorization on or off for the brand’s own post
- [tiktok_account_status](https://hermoso.ai/docs/reference/publish/tiktok_account_status/) Check the TikTok account authorization
- [get_tiktok_post_ad_authorization](https://hermoso.ai/docs/reference/publish/get_tiktok_post_ad_authorization/) Read a post’s Spark-Ads authorization status
- [delete_tiktok_post_ad_authorization](https://hermoso.ai/docs/reference/publish/delete_tiktok_post_ad_authorization/) Delete a post’s Spark-Ads authorization code
- [upload_tiktok_comment_image](https://hermoso.ai/docs/reference/publish/upload_tiktok_comment_image/) Upload an image for a TikTok comment
- [search_tiktok_locations](https://hermoso.ai/docs/reference/publish/search_tiktok_locations/) Find a TikTok location tag
- [moderate_tiktok_comment](https://hermoso.ai/docs/reference/publish/moderate_tiktok_comment/) Like, hide, pin or delete a TikTok comment
- [reply_to_tiktok_comment](https://hermoso.ai/docs/reference/publish/reply_to_tiktok_comment/) Reply to a comment on the brand’s TikTok post
- [comment_on_tiktok_video](https://hermoso.ai/docs/reference/publish/comment_on_tiktok_video/) Post a new comment on the brand’s own TikTok post
- [list_tiktok_comment_replies](https://hermoso.ai/docs/reference/publish/list_tiktok_comment_replies/) List every reply to one TikTok comment

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
