Skip to main content
Twilio → TikTokIntegration guide

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

  1. 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.

  2. 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.

  3. 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.

  4. 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. 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. 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. 3

    The identifier is the bridge

    The ttclid, captured at the visit and carried into the Twilio message or call record.

  4. 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. 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

  1. 01

    Count interactions carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 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.

  5. 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.

Get my free conversion tracking audit

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.

Get my free conversion tracking audit

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.

Free · 30 min

Get Twilio and TikTok joined properly

Free30 minutesNo obligation