TikTok Ads API keys
TikTok Marketing API credentials belong in configuration, not in a commit. This page covers where to create one, what it looks like, and how APIKeyConnect stores it without ever being able to read it.
The facts
- Category
- Marketing & Ads
- API host
business-api.tiktok.com- Sensitivity
- Critical
- Create a key
- https://business-api.tiktok.com/portal/apps — Open your app under My Apps to copy the App ID and Secret.
- Documentation
- https://business-api.tiktok.com/portal/docs/accounts-api-authentication/v1.3
A leaked key here can move money, delete data, or impersonate your organisation. Rotate immediately if one is ever exposed, and never let one reach a client bundle.
Kinds of TikTok Ads key
App secret
From your TikTok for Business developer app
Access token
Long-lived token issued after advertiser authorisation
How APIKeyConnect stores it
The key is encrypted in your browser with AES-256-GCM, under a key derived from your master password with PBKDF2-SHA-256 at 600,000 iterations. The password never leaves your device, and the server holds ciphertext it has no way to open.
What the server can see — and what this design does not protect against — is written out in full on the security page. That section exists because a page with no limits section is marketing.
Questions
Where do I get a TikTok Ads API key?
TikTok Ads issues keys from https://business-api.tiktok.com/portal/apps. Open your app under My Apps to copy the App ID and Secret. Once you have it, store it in APIKeyConnect rather than in a .env file you might commit — the key is encrypted on your device with a master password we never receive.
How dangerous is a leaked TikTok Ads key?
Critical sensitivity. A leaked key here can move money, delete data, or impersonate your organisation. Rotate immediately if one is ever exposed, and never let one reach a client bundle.
Does TikTok Ads have more than one kind of key?
Yes — App secret, Access token. They differ in scope, so keeping them as separate entries rather than one "the TikTok Ads key" is what lets you rotate the risky one without touching the others.
Can APIKeyConnect see my TikTok Ads key?
No. The key is encrypted in your browser with AES-256-GCM under a key derived from your master password (PBKDF2-SHA-256, 600,000 iterations). The password never leaves your device and the server stores ciphertext it cannot open. What the server can see is documented in full on the security page, including what this design does not protect against.