Find your TikTok Pixel ID and generate an Events API access token
event_idRelated setup guides: event_id and deduplication, pixel warming, Facebook CAPI through Keitaro. To send server-side events to TikTok - by hand or automated from your tracker - you need exactly two things:
- your Pixel ID (also called
event_source_idorpixel_code), and - an Events API access token for that pixel.
This guide walks the path in TikTok Ads Manager: locate your pixel, copy its ID, generate the access token, and test the pair before you automate anything.
Open Events Manager
In TikTok Ads Manager, open Tools and go to Events Manager. TikTok's official setup flow starts from Connect Data Source, then Web, then a manual or partner connection method.
If you do not have a pixel yet, create one through the Web data source flow. TikTok's current official guide describes choosing Manual Setup, selecting TikTok Pixel + Events API, naming the pixel, and finishing the setup wizard.
Select your pixel
Open the Web data source you want to use for server-side events. Use the TikTok Ads account that manages the campaigns for this pixel; otherwise the ID and token can be valid but attached to the wrong advertising setup.
Copy your Pixel ID
Find the Pixel ID in the pixel details/settings area for the data source and copy it exactly as shown.
This is the value you will use as event_source_id in Events API requests. Some
trackers and partner tools call the same value pixel_code.
Generate the Events API access token
Open the pixel's Settings area and find the Events API or direct API integration section. Generate an access token for this pixel and copy it immediately.
The token is sensitive Treat the token like a password: it can send events to your pixel. Never commit it to a repo, paste it into a public chat, or put it in a URL. If you lose the token, generate a replacement and update every place where the old token was used.
Test with Pixel Activator
With your Pixel ID and access token, verify the setup in seconds:
- Open the free Pixel Activator.
- Paste your Pixel ID and access token.
- Fire a test event and confirm it arrives in TikTok's Test Events or diagnostics view.
This checks that the pixel exists, the token is valid, and Events API accepts your payload before you connect production automation.
What you can do now
With your Pixel ID and access token you can send server-side events:
- Test it quickly - paste both values into Pixel Activator and send a few events.
- Automate it - connect your tracker to Most and let conversions flow to TikTok on a schedule, with deduplication and field mapping handled for you.
For the full Events API integration guide - ttclid capture, user_data hashing, deduplication, attribution windows, and troubleshooting - see TikTok Events API for Affiliate Trackers.
Put your new token to work
Automate conversions from your tracker to TikTok with Most - or fire a quick test right now with the free Pixel Activator.
Frequently asked questions
Sources
Sources
- TikTok - How to create and access TikTok Pixel ID
- TikTok - Set up and Verify Pixel
- TikTok - Get Started with Events API
- TikTok - About Events API
Labels in TikTok Ads Manager change from time to time. If something looks different, TikTok's official Get Started with Events API guide is the source of truth.
