If the pixel is the receipt a customer hands over, Events API is the settlement report your shop's books send to headquarters. It depends less on the customer's device and browser.
TikTok describes Events API as a server-to-server (S2S) integration that lets web, app, and offline visitor events flow directly from your website, app, server, or CRM, with finer control over what you share. TikTok says advertisers using the pixel and Events API together saw on average 19% more events captured and a 15% improvement in cost per action, from TikTok's internal analysis between November 2022 and February 2023, so treat it as a reference only. Sending the same event down both paths can duplicate it, so the guidance names event_id as the parameter for deduplication.
In the Shopify integration you choose a data-sharing level: Standard (pixel), Enhanced (pixel, Events API, and Advanced Matching), or Maximum, and Enhanced or higher includes Events API. Sending from a server does not remove the duty to obtain consent and disclose collection.
When to use
Use it when pixel-only data seems to miss events or you want CRM and offline conversions sent to TikTok.