Guides
Getting started

Introduction

Mimicr's TikTok Ads simulator answers on the same paths as the TikTok API for Business v1.3, so you can integrate and test paid media on TikTok without a real ad account.

The TikTok Ads simulator reproduces the integration core of the TikTok API for Business v1.3: advertiser authorization, the Marketing API (accounts, campaigns, ad groups, ads and the videos, images and identities they use), synchronous and asynchronous reports, the Events API 2.0 and Instant Form leads with signed webhooks. Paths, parameters, enums, the {code, message, request_id, data} envelope and the return codes are TikTok's.

TikTok announced the end of its own sandbox accounts (sandbox-ads.tiktok.com) on December 1, 2026. Mimicr is a non-production place to exercise these flows, including ad review, delivery and leads, which TikTok's sandbox did not simulate.

Host swap

TikTok uses one host for the API and another path for the authorization page. Mimicr answers both on https://tiktok-ads.mimicr.dev, by path. Swap the host and keep the rest.

TikTokMimicr
https://business-api.tiktok.com/portal/authhttps://tiktok-ads.mimicr.dev/portal/auth
https://ads.tiktok.com/marketing_api/auth (legacy format)https://tiktok-ads.mimicr.dev/marketing_api/auth
https://business-api.tiktok.com/open_api/v1.3/…https://tiktok-ads.mimicr.dev/open_api/v1.3/…
https://sandbox-ads.tiktok.com/open_api/v1.3/…https://tiktok-ads.mimicr.dev/open_api/v1.3/…

The App ID and Secret are those of your sandbox's app. Mimicr's own pages (the Instant Form, the ad click and the report files) live under /mimicr/… on the same host.

What the simulator covers

  • Advertiser authorization: the hosted consent page, exchanging the auth_code for a token that never expires, revocation and numeric scopes.
  • User, Business Center and ad accounts (advertisers) with status, currency and time zone.
  • Campaigns with the TRAFFIC, REACH, LEAD_GENERATION, WEB_CONVERSIONS, VIDEO_VIEWS and ENGAGEMENT objectives; ad groups with placements, targeting, budget, schedule, dayparting, goal, billing, bid and pacing; video and image ads with a custom identity and review.
  • Video and image uploads, identities, Pixels and Instant Forms.
  • BASIC reports by advertiser, campaign, ad group or ad, by day or hour, generated hour by hour from the budget, and asynchronous CSV reports.
  • The Events API 2.0 with hashing, deduplication and attribution by ttclid.
  • The Subscription API with LEAD, AD, AD_GROUP, REPORT_DATA_CHANGE and AD_ACCOUNT_SUSPENSION webhooks signed with X-Open-Signature, and the lead and test lead routes.

Paths TikTok documents outside this core (Smart+, GMV Max, Search Ads, R&F, catalogs, audiences, targeting tools, Spark Ads, the organic accounts API) answer HTTP 501 with code 40014.

What Mimicr adds

On TikTok you only watch: the reviewer approves or rejects the ad, people tap it and fill in the form, the balance runs out. On Mimicr you drive that other side through the control API (https://api.mimicr.dev), the CLI (npx mimicr), the MCP server or the console: approve and reject ads, generate clicks with a ttclid, submit leads, change the account status, empty the balance, fast-forward delivery, advance the clock and inject failures.

Where TikTok does not document a behaviour, Mimicr makes its own decision and the guides flag it with "In Mimicr, …". That is not a promise about TikTok's production behaviour.

Where to start