Skip to main content

Boost a TikTok post

/boost promotes a post that is already on TikTok. One call creates the campaign, the ad group and the ad (a Spark Ad: the ad is the post itself, with its likes and comments).

You need the TikTok account that published the post linked to your ad account in TikTok Ads Manager. Then it takes three calls:

  1. Find the TikTok account: GET /identities
  2. Pick the post: GET /spark/posts?identity_id=...
  3. Promote it: POST /boost

1. Find the TikTok account​

GET /api/uploadposts/ads/tiktok/identities

Lists the TikTok accounts the ad account can advertise as. Use the identity_id of the one that published the post (for a linked TikTok account, identity_type is TT_USER and the id is a UUID).

NameInDescription
identity_typequeryOnly this kind: TT_USER, BC_AUTH_TT, AUTH_CODE or CUSTOMIZED_USER.
page, page_sizequeryPaging (page_size up to 100, default 20).
curl https://api.upload-post.com/api/uploadposts/ads/tiktok/identities \
-H 'Authorization: Apikey your-api-key-here'
{
"success": true,
"identities": [
{
"identity_id": "5f39abca-0000-4000-8000-000000000001",
"identity_type": "TT_USER",
"display_name": "acme",
"can_pull_video": true,
"can_push_video": true
}
],
"page_info": { "page": 1, "page_size": 20, "total_number": 1, "total_page": 1 }
}

2. Pick the post​

GET /api/uploadposts/ads/tiktok/spark/posts?identity_id=...

Lists the posts of that TikTok account, newest first, 20 per page. Use item_id as post_id.

NameInDescription
identity_idqueryFrom step 1.
identity_typequeryTT_USER (default).
item_typequeryVIDEO (default) or CAROUSEL (photo posts).
countqueryPosts per page, 1-20 (default 20).
cursorqueryThe cursor of the previous page, while has_more is true.
exclude_adsonlyquerytrue: only organic posts (TikTok returns at most the 500 most recent).
curl -G https://api.upload-post.com/api/uploadposts/ads/tiktok/spark/posts \
-H 'Authorization: Apikey your-api-key-here' \
--data-urlencode 'identity_id=5f39abca-0000-4000-8000-000000000001'
{
"success": true,
"posts": [
{
"item_id": "7311111111111111111",
"item_type": "VIDEO",
"text": "Our new summer collection #acme",
"status": "ENABLE",
"identity_id": "5f39abca-0000-4000-8000-000000000001",
"identity_type": "TT_USER",
"poster_url": "https://p16-sign.tiktokcdn.com/...",
"duration": 21.5
}
],
"has_more": true,
"cursor": "1732700000000"
}

3. Promote it​

POST /api/uploadposts/ads/tiktok/boost

Body (JSON)​

NameTypeRequiredDescription
identity_idStringYesThe TikTok account (step 1).
post_idStringYesThe post's item_id (step 2).
goalStringYesreach, video_views, traffic or followers. See Goals.
budgetObjectYes{"amount": 20, "type": "daily"}. type: daily (default) or lifetime (needs schedule.end_date). In the ad account currency.
targetingObjectYesWho sees it. countries is required, see Targeting.
scheduleObjectNostart_date and end_date (YYYY-MM-DD, UTC, or ISO 8601). Default: from now, no end.
landing_page_urlStringNoWebsite the ad links to. Required for traffic.
call_to_actionStringNoButton text, e.g. LEARN_MORE, SHOP_NOW, SIGN_UP. Only with landing_page_url; default LEARN_MORE when there is one.
nameStringNoName of the three objects (up to 512 characters).
statusStringNopaused (default) or active.
pause_all_levelsBooleanNotrue: the ad group and the ad are also created paused. See below.
frequency, frequency_scheduleIntegerNoreach only: at most frequency impressions per person every frequency_schedule days. Default 3 every 7.
idempotency_keyStringNoA retry with the same key within 10 minutes answers 409 instead of creating a second campaign.
identity_typeStringNoTT_USER (default).
profile_username / advertiser_idStringNoWhich ad account. See Choosing the ad account.

Targeting​

FieldDescription
countriesISO codes, e.g. ["ES", "MX"]. Check which ones TikTok delivers your goal to with GET /locations.
age_min, age_maxAge range from 13. Without it: 18 and over. Or age_groups (AGE_18_24, AGE_25_34, ...).
gendermale, female or all (default).
interest_category_idsFrom GET /interests.
languagesLanguage codes.
audience_ids, excluded_audience_idsYour custom or lookalike audiences.

Example​

curl -X POST https://api.upload-post.com/api/uploadposts/ads/tiktok/boost \
-H 'Authorization: Apikey your-api-key-here' \
-H 'Content-Type: application/json' \
-d '{
"profile_username": "my-profile",
"identity_id": "5f39abca-0000-4000-8000-000000000001",
"post_id": "7311111111111111111",
"goal": "reach",
"budget": {"amount": 20, "type": "daily"},
"targeting": {"countries": ["ES"], "age_min": 18, "age_max": 44},
"schedule": {"end_date": "2026-12-15"},
"pause_all_levels": true,
"idempotency_key": "boost-summer-001"
}'

Response (201 Created)​

{
"success": true,
"message": "Spark Ad created (campaign, ad group and ad paused).",
"status": "paused",
"pause_all_levels": true,
"campaign_id": "1800000000000000001",
"adgroup_id": "1800000000000000002",
"ad_id": "1800000000000000003",
"objective_type": "REACH",
"post": { "item_id": "7311111111111111111", "item_type": "VIDEO", "tiktok_name": null, "auth_end_time": null }
}

What is paused, and how to start it​

Nothing spends until you say so

By default (status: "paused") only the campaign is created paused; the ad group and the ad are created active. Resuming the campaign starts delivery right away.

You sendCampaignAd groupAdTo start it
nothing (status: "paused")pausedactiveactiveResume the campaign
pause_all_levels: truepausedpausedpausedResume the ad, the ad group and the campaign
status: "active"activeactiveactiveAlready running (after TikTok approves the ad)

pause_all_levels cannot be combined with status: "active".

Resume with POST /campaigns/{id}/resume (and the ad group and ad ones when you used pause_all_levels).

If a step fails​

The campaign is always created first and paused, so a half-built boost never spends. If a later step fails, the error lists in details.created what already exists:

{
"success": false,
"code": "tiktok_ads_error",
"message": "Budget is too low.",
"details": {
"code": "tiktok_ads_error",
"tiktok_code": 40002,
"created": { "campaign_id": "1800000000000000001" }
}
}

Fix the cause and boost again, and delete the leftover campaign with POST /campaigns/{id}/delete.

Good to know​

  • The ad's text is the post's caption. It cannot be edited from Upload-Post.
  • Budget: the boost's budget lives in its ad group. The campaign has no limit, so change the budget on the ad group, not on the campaign.
  • Minimum: TikTok refuses ad groups under about 20 EUR a day (or the same in your currency).

Promote with an authorization code​

TikTok also lets a creator authorize a single post for ads: in the TikTok app, post → Ad settings → Ad authorization, which gives a code valid 7 to 365 days. Send it as post_auth_code instead of identity_id + post_id. Posts already authorized this way are listed by GET /spark/posts without identity_id (paged with page and page_size).

Next: Reports, or build it by hand in Campaigns, ad groups and ads.