Cherry Seed

Does TikTok have an official SDK?

tiktok sdk events-api pixel rest-api integration

Quick Answer

TikTok offers an official browser Pixel and a documented Events API, but no widely used official server SDK for languages like PHP. For web tracking you install the Pixel snippet; for server-side tracking you call the Events API directly as REST, posting JSON to its endpoint with your access token. TikTok also publishes Marketing API libraries for some languages and mobile app SDKs, but most WooCommerce server integrations simply make a standard HTTPS request, which is why a PHP store needs no special SDK to send events reliably.

Full Answer

It helps to separate TikTok's surfaces. On the web, the Pixel is the official client-side tag, a JavaScript snippet you place on your site that fires events from the browser. For apps, TikTok provides mobile SDKs for attribution. For server-to-server conversion tracking, the official mechanism is the Events API, which is a REST interface rather than a packaged library you import.

That distinction trips people up because Meta and Google ship server-side SDKs in several languages, so developers expect a TikTok equivalent. In practice TikTok's documentation centres on the API contract itself: the endpoint, the authentication header, and the JSON schema. There are TikTok-maintained Marketing API client libraries for a few languages and plenty of community wrappers, but none is a prerequisite. Any server that can make an authenticated HTTPS POST can send events.

For WooCommerce this is good news, not a gap. WordPress already provides an HTTP client, so you build the event payload and post it without adding a dependency to maintain or audit. You take on the small responsibility of mapping WooCommerce events to TikTok's schema and hashing user data correctly, but you avoid being locked to an SDK's release cycle. The Pixel handles the browser, a direct REST call handles the server, and together they cover both transports.

Sources

Programmatic Access

GET https://seresa.io/wp-json/cherry-tree-by-seresa/v1/seeds/709

Cite This Answer

Cherry Tree by Seresa - https://seresa.io/seed/tiktok-tracking/setup-tiktok-server-side-tiktok-sdk