API Reference
Authorization page
/portal/authhttps://tiktok-ads.mimicr.dev · provider: https://business-api.tiktok.comThe advertiser authorization URL: open it in the browser with your app_id, a state and a registered redirect_uri (/marketing_api/auth takes the same parameters). The page shows the app's permissions, a TikTok for Business user of the sandbox to act as, the ad accounts to grant and the Platform Service Agreement.
Confirm redirects to redirect_uri with auth_code, code (the same value) and state. Cancel redirects with error=access_denied. The code is valid for 1 hour and can be used once. In Mimicr the e-mail verification step is skipped, and with the homologation toggle anyRedirectUri (on by default) any http(s) URL is accepted.
Authorization
Public route, no token.
Query parameters
ID of your developer application.
One of the app's advertiser redirect URLs.
A value of yours, returned unchanged in the redirect.