Connecting Twilio to TikTok Events API
Twilio is infrastructure rather than a product, so what it can tell you depends entirely on what your own application logged alongside the message or call. TikTok's audience skews to exactly the browsers and app contexts where browser-side tracking performs worst. The join between them succeeds or fails on one thing: whether the ttclid reaches the Twilio message or call record before the conversion happens, because TikTok can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Twilio to TikTok: qualified calls and texts as Contact events
Send TikTok a Contact event when a Twilio call or text meets your lead definition, with the hashed caller phone, in TikTok's required format, and the ttclid stored against the pool number assigned server-side on landing. For texts, send only first-contact conversations on landing-page pool numbers, not replies or opt-outs.
TikTok's standard events include Contact, which fits a qualified call or text conversation better than CompletePayment or SubmitForm. Send it from your application when a Twilio interaction meets your lead definition, with the caller's hashed phone number and the ttclid stored against the pool number the visitor was shown.
TikTok traffic adds a step. Tapping a tel: link in the in-app browser hands off to the phone dialer, and the ttclid stays behind in the webview. Assign the pool number server-side when the landing page loads, with the ttclid already saved, so the lookup works when the call comes in. Check TikTok's required phone format before hashing rather than reusing the normalization you built for another platform.
Texting is common with TikTok audiences who would rather message than call. A Twilio inbound message is not a lead until your application decides it is; sending Contact on every inbound text will include replies to your own notifications and opt-out keywords. Filter to first-contact conversations on pool numbers shown on your landing pages.
Twilio → TikTok · what breaks
Why this join usually fails — Twilio → TikTok
- 01
The ttclid never reaches Twilio
Twilio has no concept of marketing at all. Any identifier has to be attached by your own code at the point the interaction is created, and if it was not, the record cannot be recovered afterwards.
- 02
Transport confused with meaning
A delivered SMS is not a conversion. Twilio reports delivery, and reading that as a business outcome is the standard mistake when teams wire the console directly.
- 03
The ttclid is lost in the in-app browser
TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.
- 04
Nothing reconciles afterwards
TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.
Twilio → TikTok · the fix
What working looks like — Twilio → TikTok
The ttclid on every interaction
Conversions arriving in TikTok
Events appear in TikTok Events Manager, deduplicated against the pixel, and become usable for optimization.
Reconciled against the source
Twilio → TikTok · architecture
How Twilio and TikTok actually connect
- 1
Twilio holds the truth
Twilio knows a message was sent or a call connected. Whether that represented a lead, a booking or a delivery notification is something only your application knows, which makes your own logging the source of truth rather than Twilio's console.
- 2
TikTok Events API needs a click to match
TikTok matches server events using ttclid where available, falling back to hashed contact information. Both should be sent — the fallback is what carries the events where the click ID did not survive.
- 3
The identifier is the bridge
The ttclid, captured at the visit and carried into the Twilio message or call record.
- 4
The event source decides reliability
Send from your application when the interaction represents something commercially meaningful, not from Twilio's status callbacks, which report transport rather than outcome.
- 5
Deduplication at the destination
TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.
Twilio → TikTok · normal or broken
Working vs. broken, side by side — Twilio → TikTok
Normal, not a fault
The ttclid present on the interaction
Sent from your application's own event, keyed to the Twilio SID
Deduplicated correctly
TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.
Reconciles with the source
Actually broken
The ttclid missing on most records
Twilio has no concept of marketing at all. Any identifier has to be attached by your own code at the point the interaction is created, and if it was not, the record cannot be recovered afterwards.
Sent from the browser
A delivered SMS is not a conversion. Twilio reports delivery, and reading that as a business outcome is the standard mistake when teams wire the console directly.
Counted twice, or not at all
TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.
Nobody has reconciled it
Twilio → TikTok · diagnose
Diagnostic order — Twilio → TikTok
- 01
Count interactions carrying the ttclid
- 02
Follow one real conversion end to end
- 03
Check whether your application logs the business meaning of each interaction
If it only stores Twilio SIDs and statuses, there is nothing to build a conversion on.
- 04
Measure ttclid capture rate on TikTok traffic specifically
Not on all traffic. TikTok's in-app browser is the failure case, so a healthy overall capture rate can hide a poor one on exactly the traffic that matters.
- 05
Read the match rate, not the success message
TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.
Twilio → TikTok · prove
How it gets proven — Twilio → TikTok
Source of truth
Your own application's records of Twilio interactions, since Twilio itself stores the transport and not the business meaning.
- The ttclid confirmed present on a live interaction.
- Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
- Conversions confirmed to come from your application's business events rather than Twilio's delivery callbacks.
Twilio → TikTok · free audit
What we check in the free audit
- Count interactions carrying the ttclid
- Follow one real conversion end to end
- Check whether your application logs the business meaning of each interaction
- Measure ttclid capture rate on TikTok traffic specifically
- Read the match rate, not the success message
Checked against
Your own application's records of Twilio interactions, since Twilio itself stores the transport and not the business meaning.
Free30 minutesNo obligation
Twilio → TikTok · when not to buy
When you don't need this — Twilio → TikTok
- Measure identifier coverage yourself first — pull your last hundred interactions and count how many carry the ttclid.
- If Twilio is purely notification infrastructure in your stack, it is not a conversion source and should not be treated as one.
- If TikTok is a small share of spend, the effort is hard to justify. It pays when TikTok is a channel you are actively scaling.
Twilio → TikTok · what we deliver
What gets built — Twilio → TikTok
Identifier capture into Twilio
Attach the click identifier in your own application's record when creating the Twilio interaction, and store it alongside the Twilio SID so the two can be joined.
Event source: your application's own event, keyed to the Twilio SID
Send from your application when the interaction represents something commercially meaningful, not from Twilio's status callbacks, which report transport rather than outcome.
Dispatch to TikTok
Server events to the TikTok Events API with the ttclid, hashed contact information and a matching event_id.
Reversals where they exist
Nothing inherent; whatever your application defines as a reversal applies.
Written guarantee
95%+ tracking accuracy
Measured against Your own application's records of Twilio interactions, since Twilio itself stores the transport and not the business meaning.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Twilio → TikTok questions, answered
Yes, by sending Contact events from your server with the ttclid from a per-visitor pool number and the hashed caller phone. TikTok's pixel cannot see the call.
The ttclid was never stored before the visitor left the webview to dial. Save it server-side when the page loads and attach it to the assigned number.
Almost always because the ttclid never reached the Twilio message or call record. Twilio has no concept of marketing at all. Any identifier has to be attached by your own code at the point the interaction is created, and if it was not, the record cannot be recovered afterwards. Measure coverage before debugging the dispatch.
The ttclid — TikTok's click identifier, appended to your landing page URL and also stored in the _ttp cookie. TikTok additionally matches on hashed email and phone. In-app browser behavior makes ttclid capture more fragile than the equivalents on other platforms, so persisting it server-side as soon as it is seen matters more here than elsewhere.
Your application's own event, keyed to the Twilio SID. Send from your application when the interaction represents something commercially meaningful, not from Twilio's status callbacks, which report transport rather than outcome.
TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.
More on Twilio → TikTok
- TikTok · Lead → booked callHow to track lead to booked call for TikTok Ads
- TikTok · Booked call → closed wonHow to track booked call to closed won for TikTok Ads
- TikTok · Free trial → paidHow to track free trial to paid for TikTok Ads
RELATED GUIDES
Where Twilio → TikTok fits in the rest of your tracking
- TikTok · HVACTikTok Ads conversion tracking for HVAC companies
- TikTok · PlumbersTikTok Ads conversion tracking for plumbing businesses
- TikTok × Call RecordsHow to reconcile TikTok Ads against your call tracking records
- TikTok · Chat → qualified leadHow to track chat conversation to qualified lead for TikTok Ads
- WhatConverts → TikTokConnecting WhatConverts to TikTok Events API
- Twilio → QuoraConnecting Twilio to Quora Ads
- PlumbersConversion tracking for plumbers, where the phone call is the conversion
- RingCentral → TikTokConnecting RingCentral to TikTok Events API
Free · 30 min
Get Twilio and TikTok joined properly
Free30 minutesNo obligation
