TikTok Events API
Renta sends conversion events from your data warehouse to TikTok through the Events API: web events to a Pixel, offline events to an Offline Event Set, and app events to a TikTok app.
Authentication
Renta authenticates with TikTok OAuth. Authorize the TikTok account that has access to the advertiser account owning your Pixel, Offline Event Set, or app.
Renta checks that the authorized TikTok user can see at least one advertiser account and refuses the connection otherwise. If that happens, give the user access to an advertiser account in TikTok and authorize again.
Connect TikTok Events API destination
- Navigate to the Connections > Catalog section in the left sidebar and open the Destinations tab.
- Open the Advertising category and click the TikTok Events API card.

Click Log in to your TikTok Events API account. On the TikTok page, sign in if TikTok asks for it, review the access Renta requests, and confirm it. TikTok returns you to Renta.

Renta shows the Access granted block with the authorized account. Finish the setup:
- Destination name.
Specify a name for this destination. This is used exclusively in the Renta interface.
Click Save to finish.

The new destination appears in the Destinations list with the Active status. You can now use it in Reverse ETL pipelines.

If TikTok stops accepting the access, for example after you revoke it, open the destination and click Re-authorize.
Prepare a data model
A Reverse ETL pipeline reads from a data model: a SQL query saved in the Context layers section that decides which warehouse rows to sync and what each row holds. Build it before the pipeline, because the mapping dropdowns are filled from its columns.
An event model holds one event per row. Give every row the time of the event as a Unix timestamp in seconds and at least one identifier of the person, such as an email or a phone number. Web events also need the URL of the page where the event happened.
-- Purchases prepared for the TikTok Events API.
-- The query returns rows only, no table is created.
WITH demo_purchases AS (
SELECT
'evt-1001' AS event_id,
UNIX_SECONDS(TIMESTAMP '2026-11-20 14:20:00 UTC') AS event_time,
'james.miller@example.com' AS email,
'https://example.com/checkout/thank-you' AS page_url,
129.00 AS value,
'USD' AS currency
UNION ALL SELECT 'evt-1002', UNIX_SECONDS(TIMESTAMP '2026-11-20 15:05:00 UTC'), 'olivia.johnson@example.com', 'https://example.com/checkout/thank-you', 59.00, 'USD'
UNION ALL SELECT 'evt-1003', UNIX_SECONDS(TIMESTAMP '2026-11-20 16:40:00 UTC'), 'william.davis@example.com', 'https://example.com/checkout/thank-you', 249.00, 'USD'
)
SELECT * FROM demo_purchasesMark the column that identifies an event as the key when you save the model, event_id in this example. Renta uses the key to tell a new row from a changed one, so pick the ID of the event and not of the person: two orders by one customer are two events. The steps are the same for every warehouse, see Create a data model.
Create a TikTok Events API pipeline
The destination and the data model have to exist before you start.
In the left sidebar, click New pipeline. On the Source step, switch the toggle to Reverse ETL, pick your data warehouse, such as Google BigQuery, and click Next step.

Choose the warehouse connection that holds your data model and click Next step.

On the Destination step, select TikTok Events API under Already connected and click Next step.

Choose the TikTok Events API connection you created earlier and click Next step. Each card shows when the connection was created and the TikTok account behind it.

Pipeline configuration
On the final step, choose where the events go, what they are called, and which columns describe them.
What Renta sends
Pick the object, the data model, and the advertiser account.

- What would you like Renta to send to TikTok?
Conversion event is the only object. Renta sends the rows as server-side events through the Events API. - Data model.
Choose the model to sync. The columns available for mapping below come from it. - Advertiser account.
The TikTok advertiser account that owns the Pixel, Offline Event Set, or app you send events to. The list holds the advertiser accounts the authorized user can access.
Event source
The event source tells TikTok where the events happened. The receiver list and the parameters available for mapping depend on it.

| Event source | Events | Receiver |
|---|---|---|
| Web events | Events from your website. | A TikTok Pixel. Renta sends the events with its Pixel Code. |
| Offline events | Conversions that happened in a store, by phone, or in your CRM. | An Offline Event Set. |
| App events | Events from your mobile app. | A TikTok App ID. TikTok enables app events for allowlisted advertisers only. |
Event settings
Choose the receiver and describe the events the model holds. These settings apply to every row.

-
Pixel, Offline Event Set, or App The receiver of the events. The list depends on the advertiser account and the event source you selected, and each item shows its name and code.
-
Event name The TikTok event every row is sent as. Pick a standard event or choose Custom event and enter your own name of up to 50 characters.
Event source Event names Web events AddPaymentInfo, AddToCart, AddToWishlist, ApplicationApproval, CompleteRegistration, Contact, CustomizeProduct, Download, FindLocation, InitiateCheckout, Lead, Purchase, Schedule, Search, StartTrial, SubmitApplication, Subscribe, ViewContent, or a custom event Offline events The same standard events as for web events. Custom events are not accepted. App events AchieveLevel, AddPaymentInfo, AddToCart, AddToWishlist, Checkout, CompleteTutorial, CreateGroup, CreateRole, GenerateLead, InAppADClick, InAppADImpr, InstallApp, JoinGroup, LaunchAPP, LoanApplication, LoanApproval, LoanDisbursal, Login, Purchase, Rate, Registration, Search, SpendCredits, StartTrial, Subscribe, UnlockAchievement, ViewContent, or a custom event -
Default currency (optional) The ISO 4217 currency Renta uses for a row that has a value but no currency. TikTok requires a currency whenever an event carries a value, so set this unless every row supplies its own.
The list holds the currencies TikTok accepts.
Code Currency Code Currency AED UAE dirham KRW South Korean won ARS Argentine peso KWD Kuwaiti dinar AUD Australian dollar KZT Kazakhstani tenge BDT Bangladeshi taka MAD Moroccan dirham BHD Bahraini dinar MOP Macanese pataca BIF Burundian franc MXN Mexican peso BOB Bolivian boliviano MYR Malaysian ringgit BRL Brazilian real NGN Nigerian naira CAD Canadian dollar NIO Nicaraguan córdoba CHF Swiss franc NOK Norwegian krone CLP Chilean peso NZD New Zealand dollar CNY Chinese yuan OMR Omani rial COP Colombian peso PEN Peruvian sol CRC Costa Rican colón PHP Philippine peso CZK Czech koruna PKR Pakistani rupee DKK Danish krone PLN Polish zÅ‚oty DZD Algerian dinar PYG Paraguayan guaranà EGP Egyptian pound QAR Qatari riyal EUR Euro RON Romanian leu GBP Pound sterling RUB Russian ruble GTQ Guatemalan quetzal SAR Saudi riyal HKD Hong Kong dollar SEK Swedish krona HNL Honduran lempira SGD Singapore dollar HUF Hungarian forint THB Thai baht IDR Indonesian rupiah TRY Turkish lira ILS Israeli new shekel TWD New Taiwan dollar INR Indian rupee UAH Ukrainian hryvnia ISK Icelandic króna USD US dollar JPY Japanese yen VES Venezuelan bolÃvar KES Kenyan shilling VND Vietnamese đồng KHR Cambodian riel ZAR South African rand -
Test event code (optional) The code from the test events tab of TikTok Events Manager. Use it to check events before going live.
Remove the Test event code before the pipeline goes to production. While the field is filled in, every event is sent with the test code.
Field mapping
In the Map your data to TikTok Events API parameters block, connect the model columns to the parameters of a TikTok event.

The Event time (unix seconds) row is added for you and cannot be removed. For web events the same applies to Page URL. App events require Mobile app ID (store / package id). Each parameter can be mapped once.
Add the other rows with the buttons under Add mapping.
| Mapping type | Description |
|---|---|
| Standard | Sends the value of a model column. |
| Static | Sends a fixed value you enter with every event. It suits the page URL or the mobile app ID when they are the same for all rows. Parameters that describe the person or the device, from Email to ATT status in the table below, do not accept a fixed value. |
| Variable | Sends a run variable, such as the model name or the run ID. |
Map at least one identifier that TikTok can match to a person. The accepted identifiers depend on the event source.
| Event source | Identifiers, at least one required |
|---|---|
| Web events | Email, Phone (E.164), External ID, TikTok Click ID (ttclid), TikTok cookie (_ttp) |
| Offline events | Email, Phone (E.164) |
| App events | Email, Phone (E.164), iOS IDFA, iOS IDFV, Google Advertising ID (GAID) |
The dropdown lists only the parameters that the selected event source accepts. The table shows all of them and the values Renta expects.
| TikTok parameter | Event sources | What to send |
|---|---|---|
| Event time (unix seconds) | Web, offline, app | Required. The moment the event happened as a Unix timestamp in seconds. Renta also reads timestamps in milliseconds and ISO 8601 date-time strings. A row with an empty or unreadable value is sent with the time of the run. |
| Event ID (deduplication) | Web, offline, app | A unique ID of the event, such as an order ID. TikTok uses it to deduplicate events. |
| Web, offline, app | An email address. Renta hashes it before sending. | |
| Phone (E.164) | Web, offline, app | A phone number with the country code. Renta hashes it before sending. |
| External ID | Web | Your own ID of the user, such as a CRM or loyalty ID. Renta hashes it before sending. |
| TikTok Click ID (ttclid) | Web | The value of the ttclid parameter from the landing page URL. Sent as written. |
| TikTok cookie (_ttp) | Web | The value of the _ttp cookie. Sent as written. |
| IP address | Web, app | The IP address of the user. Sent as written. |
| User agent | Web, app | The user agent string of the browser or device. Sent as written. |
| Locale (BCP 47) | Web, app | A BCP 47 language tag, such as en-US. |
| iOS IDFA | App | The advertising ID of an iOS device. |
| iOS IDFV | App | The vendor ID of an iOS device. |
| Google Advertising ID (GAID) | App | The advertising ID of an Android device. |
| ATT status (iOS) | App | One of AUTHORIZED, DENIED, NOT_DETERMINED, RESTRICTED, NOT_APPLICABLE. Any other value is left out of the event. |
| Value | Web, offline, app | The amount of the event as a number. It needs a currency. |
| Currency (ISO 4217) | Web, offline, app | A three-letter currency code, such as USD. |
| Content IDs | Web, offline, app | Product IDs as an array, a JSON array string, or a comma-separated string. |
| Content type (product / product_group) | Web, offline, app | product or product_group. Any other value is left out of the event. |
| Contents (JSON array) | Web, offline, app | A JSON array of items. Renta keeps the keys price, quantity, content_id, content_name, content_category, and brand. |
| Number of items | Web, offline, app | A whole number. |
| Search string | Web, offline, app | The text the user searched for. |
| Description | Web, offline, app | A text description of the item or the page. |
| Order ID | Web, offline, app | The ID of the order. |
| Shop ID | Web, offline, app | The ID of the shop. |
| Customer type (new / returning) | Web, app | new or returning. Any other value is left out of the event. |
| Page URL | Web | Required for web events. The URL of the page where the event happened. |
| Page referrer | Web | The URL of the referring page. |
| Mobile app ID (store / package id) | App | Required for app events. The ID of the app in its store or its package ID. |
| App name | App | The name of the app. |
| App version | App | The version of the app. |
Renta hashes Email, Phone (E.164), and External ID before sending. If a column already holds a SHA-256 hash, Renta sends it unchanged.
Renta leaves an empty cell out of the event.
Renta skips a row when every identifier you mapped is empty in it, when a web event has no page URL, or when an app event has no mobile app ID. A row with a value but no currency, mapped or default, is sent without the value.
Sync behavior
The last settings cover deleted rows, Limited Data Use, and the pipeline name.

-
When a source row is deleted Ignore is the only option. An event already sent to TikTok cannot be taken back, so a row leaving the data model changes nothing in TikTok.
-
Limited Data Use Choose whether TikTok restricts how it uses the events.
Option Description Disabled Renta sends events normally, and TikTok applies its default data-use settings. This is the default. Enabled Renta flags every event as Limited Data Use so TikTok restricts how it uses the data. The flag applies to web and app events and has no effect on offline events. -
Integration name The name of your pipeline. Edit it to match your preferences.
Schedule
Choose how often the pipeline runs.

| Schedule type | Description |
|---|---|
| Manual | The pipeline runs only when triggered manually through the interface or via API. |
| Daily | The pipeline runs once a day at the specified update time. |
| Interval | The pipeline runs at specified time intervals. |
| Cron Expression | The pipeline runs on a schedule defined by a cron expression. |
For Daily schedules, set the Update time (the exact time each run starts), then click Create pipeline.

Renta also supports API triggers and integration with external orchestrators such as Apache Airflow, Dagster, and Prefect. See the full scheduling documentation for details.
The new pipeline appears in the Pipelines section under the Reverse ETL tab, where you can track its runs and progress.

Sync strategy
Renta syncs incrementally. A run compares the data model against the state the previous run recorded and sends only the rows that are new or changed. The first run has nothing to compare against and sends the model in full.
| Row state | What Renta does |
|---|---|
| New | Sends the row as an event. |
| Changed | Sends the row again as an event with the current values. Map Event ID (deduplication) so that TikTok can recognise the repeat. |
| Unchanged | Sends nothing. |
| Deleted | Sends nothing. An event already sent to TikTok cannot be taken back. |
Limits
These rules affect how you build the data model and what a failed run means.
- Events are append-only.
Nothing sent to TikTok can be edited or deleted afterwards. Verify the mapping with a test event code before the first live run. - One event name per pipeline.
The event name comes from the pipeline settings, not from a column. Sending purchases and leads takes two pipelines over two models. - One invalid event rejects its batch.
Renta sends events in batches, and TikTok rejects a whole batch when one event in it is invalid. Renta stops the run with an error when a batch is rejected in full, when more than 30% of a batch is rejected, or when more than 10% of the rows delivered so far in the run are rejected. Batches that TikTok accepted earlier in the run stay in TikTok. - Rejections point to the mapping.
The usual cause is a missing required parameter or a malformed value. Check that the mapped columns hold Unix seconds for the event time, ISO 4217 codes for the currency, and numbers for the value. - Access can expire.
If TikTok no longer accepts the access token, or the authorized user loses access to the advertiser account, the run fails. Open the destination and click Re-authorize. - Matching happens inside TikTok.
Renta counts an event as delivered once TikTok accepts it. TikTok decides whether the event matches a person and shows the result in TikTok Events Manager.
Ready to get started?
Build your data pipeline today or get a personalized demo. Start free!
Need help?
Get expert support to ensure your project succeeds. We're here to help!
Feature requests?
Help shape our product! Share your ideas for new features and integrations.