Linking Twilio as a source

Alpha release

This source is currently in alpha. The interface and available tables may change.

Enter your Twilio credentials to pull your Twilio data into the PostHog data warehouse.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.
  2. Click + New source and then click Link next to Twilio.
  3. Find your Account SID on the Twilio Console dashboard. For the remaining credentials, choose an authentication method:
    • API key (SID + secret) — recommended, since it can be revoked independently. Create a Standard API key and copy its API key SID and API key secret.
    • Auth token — alternatively, use the Auth token shown alongside your Account SID in the console.
  4. Back in PostHog, enter your Account SID, pick the authentication method, fill in the matching credentials, and click Next.
  5. Select the tables you want to sync, set the sync method and frequency, then click Import.

Once the syncs are complete, you can start using Twilio data in PostHog.

Available tables

TableDescriptionSync method
messagesSMS, MMS, and other messagesIncremental
callsVoice callsIncremental
recordingsCall recordingsIncremental
conferencesConference callsIncremental
addressesAddresses on the accountFull refresh
applicationsTwiML applicationsFull refresh
incoming_phone_numbersPhone numbers owned by the accountFull refresh
keysAPI keys on the accountFull refresh
outgoing_caller_idsVerified outgoing caller IDsFull refresh
queuesCall queuesFull refresh
transcriptionsRecording transcriptionsFull refresh

Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.

Configuration

OptionTypeRequired
Account SIDtextYes
Authentication methodselectYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
messages

An SMS, MMS, or WhatsApp message sent or received through Twilio.

Incremental, Full refreshdate_sent
calls

A phone call made or received through Twilio.

Incremental, Full refreshstart_time, end_time
recordings

An audio recording of a Twilio call or conference.

Incremental, Full refreshdate_created
conferences

A conference call hosting multiple Twilio call participants.

Incremental, Full refreshdate_created, date_updated
addresses

A geographic address registered on a Twilio account for regulatory compliance.

Full refresh
applications

A TwiML application that bundles a set of URLs for handling Twilio voice and messaging.

Full refresh
incoming_phone_numbers

A phone number owned by your Twilio account and the handlers configured for it.

Full refresh
keys

An API key (SID and secret) used to authenticate requests to the Twilio API.

Full refresh
outgoing_caller_ids

A phone number verified for use as an outbound caller ID on the account.

Full refresh
queues

A queue holding callers waiting to be connected to an agent.

Full refresh
transcriptions

A text transcription of a Twilio call recording.

Full refresh

Community questions

Was this page useful?

Questions about this page? or post a community question.