# Twilio (v1)

Information note **Twilio is in beta**   
Twilio is currently in beta. The info in this guide is subject to change.

Information note **Twilio extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) Twilio tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-twilio).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

## Twilio integration summary

Stitch’s Twilio integration replicates data using the [Twilio REST API](https://www.twilio.com/docs/usage/api). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/twilio#schema) section for a list of objects available for replication.

## Twilio feature snapshot

A high-level look at Stitch's Twilio (v1) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Beta | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-twilio](https://github.com/singer-io/tap-twilio) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting Twilio

### Step 1: Retrieve Auth token and Account SID

1. Log into your Twilio account.
2. Click on **Console**.
3. Copy your **Account SID** and **Auth Token** and have it ready for the next step.

### Step 2: Add Twilio as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **Twilio** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch Twilio” would create a schema called `stitch_twilio` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. In the **Account Sid** field, paste the Account SID you copied in [step 1](https://help.qlik.com/en-US/stitch/integrations/saas/twilio#retrieve-auth-sid).

6. In the **Auth Token** field, paste the Auth Token you copied in [step 1](https://help.qlik.com/en-US/stitch/integrations/saas/twilio#retrieve-auth-sid).

7. In the **Date Window Days** field, enter a value. This parameter should be set to an optimum value to improve historical sync performance. Setting this value too low will take longer to complete historical sync and setting it larger may result in request timeouts or memory overflow issues. The default value is `30`.

### Step 3: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Twilio integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Twilio’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 4: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Twilio integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 5: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/twilio#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For Twilio integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up Twilio, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Twilio table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 1** of this integration.

This is the latest version of the Twilio integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### account\_balance

The **account\_balance** returns your Twilio account balance.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | account\_sid |
| **Useful links** | [account_balance schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/account_balance.json "Opens in new tab: account_balance schema on GitHub") |

account\_balance table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **balance**<br><br><br>NUMBER |
| **currency**<br><br><br>STRING |

### accounts

The **accounts** table returns a list of accounts in your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/api/account#read-multiple-account-resources "Opens in new tab: Twilio documentation")<br><br><br>[accounts schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/accounts.json "Opens in new tab: accounts schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/account?code-sample=code-list-all-accounts&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

accounts table schema

| **auth\_token**<br><br><br>STRING |
| --- |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **friendly\_name**<br><br><br>STRING |
| **owner\_account\_sid**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **subresource\_uris**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand subresource\_uris<br><br><table> <tr> <td> <p> <strong>								subresource							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uri							</strong> </p> <p>							STRING													</p> </td> </tr> </table><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand uri<br><br><table> </table> |
| **type**<br><br><br>STRING |
| **uri**<br><br><br>STRING |

### addresses

The **addresses** table returns a list of address resource representations, each representing an address within your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/api/address#read-multiple-address-resources "Opens in new tab: Twilio documentation")<br><br><br>[addresses schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/addresses.json "Opens in new tab: addresses schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/address?code-sample=code-show-all-addresses&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

addresses table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **city**<br><br><br>STRING |
| **customer\_name**<br><br><br>STRING |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **emergency\_enabled**<br><br><br>BOOLEAN |
| **friendly\_name**<br><br><br>STRING |
| **iso\_country**<br><br><br>STRING |
| **postal\_code**<br><br><br>STRING |
| **region**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **street**<br><br><br>STRING |
| **uri**<br><br><br>STRING |
| **validated**<br><br><br>BOOLEAN |
| **verified**<br><br><br>BOOLEAN |

### alerts

The **alerts** returns a list of alerts generated for an account within your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/monitor-alert#read-multiple-alert-resource "Opens in new tab: Twilio documentation")<br><br><br>[alerts schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/alerts.json "Opens in new tab: alerts schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/usage/monitor-alert?code-sample=code-list-all-alerts&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

alerts table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **alert\_text**<br><br><br>STRING |
| **api\_version**<br><br><br>STRING |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_generated**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **error\_code**<br><br><br>STRING |
| **log\_level**<br><br><br>STRING |
| **more\_info**<br><br><br>STRING |
| **request\_method**<br><br><br>STRING |
| **request\_url**<br><br><br>STRING |
| **resource\_sid**<br><br><br>STRING |
| **service\_sid**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **url**<br><br><br>STRING |

### applications

The **applications** table returns a list of application resource representations, each representing an application within your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_created |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/api/applications#read-multiple-application-resources "Opens in new tab: Twilio documentation")<br><br><br>[applications schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/applications.json "Opens in new tab: applications schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/applications?code-sample=code-list-all-application-resource-representations&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

applications table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **api\_version**<br><br><br>STRING |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **friendly\_name**<br><br><br>STRING |
| **message\_status\_callback**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **sms\_fallback\_method**<br><br><br>STRING |
| **sms\_fallback\_url**<br><br><br>STRING |
| **sms\_method**<br><br><br>STRING |
| **sms\_status\_callback**<br><br><br>STRING |
| **sms\_url**<br><br><br>STRING |
| **status\_callback**<br><br><br>STRING |
| **status\_callback\_method**<br><br><br>STRING |
| **uri**<br><br><br>STRING |
| **voice\_callback\_id\_lookup**<br><br><br>BOOLEAN |
| **voice\_fallback\_method**<br><br><br>STRING |
| **voice\_fallback\_url**<br><br><br>STRING |
| **voice\_method**<br><br><br>STRING |
| **voice\_url**<br><br><br>STRING |

### available\_phone\_number\_countries

The **available\_phone\_number\_countries** table returns a list of countries that have phone numbers to purchase for your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | country\_code |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#read-a-list-of-countries "Opens in new tab: Twilio documentation")<br><br><br>[available_phone_number_countries schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/available_phone_number_countries.json "Opens in new tab: available_phone_number_countries schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource?code-sample=code-read-a-list-of-countries&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

available\_phone\_number\_countries table schema

| **beta**<br><br><br>BOOLEAN |
| --- |
| **country**<br><br><br>STRING |
| **country\_code**<br><br><br>STRING |
| **subresource\_uris**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand subresource\_uris<br><br><table> <tr> <td> <p> <strong>								subresource							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uri							</strong> </p> <p>							STRING													</p> </td> </tr> </table><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand uri<br><br><table> </table> |
| **uri**<br><br><br>STRING |

### available\_phone\_numbers\_local

The **available\_phone\_numbers\_local** table returns a list of available phone numbers for local resources for your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | iso\_country<br><br>phone\_number |
| **Useful links** | [available_phone_numbers_local schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/available_phone_numbers_local.json "Opens in new tab: available_phone_numbers_local schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource#read-multiple-availablephonenumberlocal-resources "Opens in new tab: Twilio API method") |

available\_phone\_numbers\_local table schema

| **address\_requirements**<br><br><br>STRING |
| --- |
| **beta**<br><br><br>BOOLEAN |
| **capabilities**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand capabilities<br><br><table> <tr> <td> <p> <strong>								MMS							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								SMS							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								fax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								voice							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **friendly\_name**<br><br><br>STRING |
| **iso\_country**<br><br><br>STRING |
| **lata**<br><br><br>STRING |
| **latitude**<br><br>NUMBER<br><br>STRING |
| **locality**<br><br><br>STRING |
| **longitude**<br><br>NUMBER<br><br>STRING |
| **phone\_number**<br><br><br>STRING |
| **postal\_code**<br><br><br>STRING |
| **rate\_center**<br><br><br>STRING |
| **region**<br><br><br>STRING |

### available\_phone\_numbers\_mobile

The **available\_phone\_numbers\_mobile** table returns a list of available phone numbers for mobile resources for your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | iso\_country<br><br>phone\_number |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-mobile-resource#read-multiple-availablephonenumbermobile-resources "Opens in new tab: Twilio documentation")<br><br><br>[available_phone_numbers_mobile schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/available_phone_numbers_mobile.json "Opens in new tab: available_phone_numbers_mobile schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-mobile-resource?code-sample=code-find-mobile-numbers-by-region&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

available\_phone\_numbers\_mobile table schema

| **address\_requirements**<br><br><br>STRING |
| --- |
| **beta**<br><br><br>BOOLEAN |
| **capabilities**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand capabilities<br><br><table> <tr> <td> <p> <strong>								MMS							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								SMS							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								fax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								voice							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **friendly\_name**<br><br><br>STRING |
| **iso\_country**<br><br><br>STRING |
| **lata**<br><br><br>STRING |
| **latitude**<br><br>NUMBER<br><br>STRING |
| **locality**<br><br><br>STRING |
| **longitude**<br><br>NUMBER<br><br>STRING |
| **phone\_number**<br><br><br>STRING |
| **postal\_code**<br><br><br>STRING |
| **rate\_center**<br><br><br>STRING |
| **region**<br><br><br>STRING |

### available\_phone\_numbers\_toll\_free

The **available\_phone\_numbers\_toll\_free** table returns a list of available toll free phone numbers for your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | iso\_country<br><br>phone\_number |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-tollfree-resource#read-multiple-availablephonenumbertollfree-resources "Opens in new tab: Twilio documentation")<br><br><br>[available_phone_numbers_toll_free schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/available_phone_numbers_toll_free.json "Opens in new tab: available_phone_numbers_toll_free schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-tollfree-resource?code-sample=code-find-any-toll-free-number&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

available\_phone\_numbers\_toll\_free table schema

| **address\_requirements**<br><br><br>STRING |
| --- |
| **beta**<br><br><br>BOOLEAN |
| **capabilities**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand capabilities<br><br><table> <tr> <td> <p> <strong>								MMS							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								SMS							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								fax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								voice							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **friendly\_name**<br><br><br>STRING |
| **iso\_country**<br><br><br>STRING |
| **lata**<br><br><br>STRING |
| **latitude**<br><br>NUMBER<br><br>STRING |
| **locality**<br><br><br>STRING |
| **longitude**<br><br>NUMBER<br><br>STRING |
| **phone\_number**<br><br><br>STRING |
| **postal\_code**<br><br><br>STRING |
| **rate\_center**<br><br><br>STRING |
| **region**<br><br><br>STRING |

### calls

The **calls** table returns a list of phone calls made to and from an account in your Twilio account, identified by its `AccountSid`.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/call-resource#read-multiple-call-resources "Opens in new tab: Twilio documentation")<br><br><br>[calls schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/calls.json "Opens in new tab: calls schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/call-resource?code-sample=code-read-multiple-call-resources&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

calls table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **annotation**<br><br><br>STRING |
| **answered\_by**<br><br><br>STRING |
| **api\_version**<br><br><br>STRING |
| **caller\_name**<br><br><br>STRING |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **direction**<br><br><br>STRING |
| **duration**<br><br><br>INTEGER |
| **end\_time**<br><br><br>DATE-TIME |
| **forwarded\_from**<br><br><br>STRING |
| **from**<br><br><br>STRING |
| **from\_formatted**<br><br><br>STRING |
| **group\_sid**<br><br><br>STRING |
| **parent\_call\_sid**<br><br><br>STRING |
| **phone\_number\_sid**<br><br><br>STRING |
| **price**<br><br><br>NUMBER |
| **price\_unit**<br><br><br>STRING |
| **queue\_time**<br><br><br>INTEGER |
| **sid**<br><br><br>STRING |
| **start\_time**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **subresource\_uris**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand subresource\_uris<br><br><table> <tr> <td> <p> <strong>								subresource							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uri							</strong> </p> <p>							STRING													</p> </td> </tr> </table><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand uri<br><br><table> </table> |
| **to**<br><br><br>STRING |
| **to\_formatted**<br><br><br>STRING |
| **trunk\_sid**<br><br><br>STRING |
| **uri**<br><br><br>STRING |

### conference\_participants

The **conference\_participants** table returns the list of active participants in the Twilio conference identified by `ConferenceSid`.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | uri |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/conference-participant-resource#read-multiple-participant-resources "Opens in new tab: Twilio documentation")<br><br><br>[conference_participants schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/conference_participants.json "Opens in new tab: conference_participants schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/conference-participant-resource?code-sample=code-read-multiple-participant-resources&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

conference\_participants table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **call\_sid**<br><br><br>STRING |
| **call\_sid\_to\_coach**<br><br><br>STRING |
| **coaching**<br><br><br>BOOLEAN |
| **conference\_sid**<br><br><br>STRING |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **end\_conference\_on\_exit**<br><br><br>BOOLEAN |
| **hold**<br><br><br>BOOLEAN |
| **label**<br><br><br>STRING |
| **muted**<br><br><br>BOOLEAN |
| **start\_conference\_on\_enter**<br><br><br>BOOLEAN |
| **status**<br><br><br>STRING |
| **uri**<br><br><br>STRING |

### conferences

The **conferences** table returns all the conferences within your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/conference-resource#read-multiple-conference-resources "Opens in new tab: Twilio documentation")<br><br><br>[conferences schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/conferences.json "Opens in new tab: conferences schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/conference-resource?code-sample=code-read-multiple-conference-resources&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

conferences table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **api\_version**<br><br><br>STRING |
| **call\_sid\_ending\_conference**<br><br><br>STRING |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **friendly\_name**<br><br><br>STRING |
| **reason\_conference\_ended**<br><br><br>STRING |
| **region**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **subresource\_uris**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand subresource\_uris<br><br><table> <tr> <td> <p> <strong>								subresource							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uri							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **uri**<br><br><br>STRING |

### dependent\_phone\_numbers

The **dependent\_phone\_numbers** table returns a list of `IncomingPhoneNumbers` in your Twilio account that require the specified address.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Useful links** | [dependent_phone_numbers schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/dependent_phone_numbers.json "Opens in new tab: dependent_phone_numbers schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/address?code-sample=code-list-dependent-pns-subresources&code-language=curl&code-sdk-version=json#instance-subresources "Opens in new tab: Twilio API method") |

dependent\_phone\_numbers table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **address\_requirements**<br><br><br>STRING |
| **api\_version**<br><br><br>STRING |
| **capabilities**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand capabilities<br><br><table> <tr> <td> <p> <strong>								fax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								mms							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								sms							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								voice							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **emergency\_address\_sid**<br><br><br>STRING |
| **emergency\_status**<br><br><br>STRING |
| **friendly\_name**<br><br><br>STRING |
| **phone\_number**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **sms\_application\_sid**<br><br><br>STRING |
| **sms\_fallback\_method**<br><br><br>STRING |
| **sms\_fallback\_url**<br><br><br>STRING |
| **sms\_method**<br><br><br>STRING |
| **sms\_url**<br><br><br>STRING |
| **status\_callback**<br><br><br>STRING |
| **status\_callback\_method**<br><br><br>STRING |
| **trunk\_sid**<br><br><br>STRING |
| **uri**<br><br><br>STRING |
| **voice\_application\_sid**<br><br><br>STRING |
| **voice\_caller\_id\_lookup**<br><br><br>BOOLEAN |
| **voice\_fallback\_method**<br><br><br>STRING |
| **voice\_fallback\_url**<br><br><br>STRING |
| **voice\_method**<br><br><br>STRING |
| **voice\_url**<br><br><br>STRING |

### incoming\_phone\_numbers

The **incoming\_phone\_numbers** table returns a list of `IncomingPhoneNumbers` in your Twilio account that require the specified address.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource#read-multiple-incomingphonenumber-resources "Opens in new tab: Twilio documentation")<br><br><br>[incoming_phone_numbers schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/incoming_phone_numbers.json "Opens in new tab: incoming_phone_numbers schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource?code-sample=code-list-all-incomingphonenumber-resources-for-your-account&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

incoming\_phone\_numbers table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **address\_requirements**<br><br><br>STRING |
| **address\_sid**<br><br><br>STRING |
| **api\_version**<br><br><br>STRING |
| **beta**<br><br><br>BOOLEAN |
| **bundle\_sid**<br><br><br>STRING |
| **capabilities**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand capabilities<br><br><table> <tr> <td> <p> <strong>								fax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								mms							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								sms							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								voice							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **emergency\_address\_sid**<br><br><br>STRING |
| **emergency\_address\_status**<br><br><br>STRING |
| **emergency\_status**<br><br><br>STRING |
| **friendly\_name**<br><br><br>STRING |
| **identity\_sid**<br><br><br>STRING |
| **origin**<br><br><br>STRING |
| **phone\_number**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **sms\_application\_sid**<br><br><br>STRING |
| **sms\_fallback\_method**<br><br><br>STRING |
| **sms\_fallback\_url**<br><br><br>STRING |
| **sms\_method**<br><br><br>STRING |
| **sms\_url**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **status\_callback**<br><br><br>STRING |
| **status\_callback\_method**<br><br><br>STRING |
| **trunk\_sid**<br><br><br>STRING |
| **uri**<br><br><br>STRING |
| **voice\_application\_sid**<br><br><br>STRING |
| **voice\_caller\_id\_lookup**<br><br><br>BOOLEAN |
| **voice\_fallback\_method**<br><br><br>STRING |
| **voice\_fallback\_url**<br><br><br>STRING |
| **voice\_method**<br><br><br>STRING |
| **voice\_receive\_mode**<br><br><br>STRING |
| **voice\_url**<br><br><br>STRING |

### keys

The **keys** table returns a list of API Keys in your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [keys schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/keys.json "Opens in new tab: keys schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/keys?code-sample=code-read-a-key-resource&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

keys table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **friendly\_name**<br><br><br>STRING |
| **sid**<br><br><br>STRING |

### message\_media

The **message\_media** table returns the list of media associated with your Twilio message.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/sms/api/media-resource#read-multiple-media-resources "Opens in new tab: Twilio documentation")<br><br><br>[message_media schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/message_media.json "Opens in new tab: message_media schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/sms/api/media-resource?code-sample=code-read-media&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

message\_media table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **content\_type**<br><br><br>STRING |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **parent\_sid**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **uri**<br><br><br>STRING |

### messages

The **messages** table returns a list of messages associated with your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/sms/api/message-resource#read-multiple-message-resources "Opens in new tab: Twilio documentation")<br><br><br>[messages schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/messages.json "Opens in new tab: messages schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/sms/api/message-resource?code-sample=code-read-list-all-messages&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

messages table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **api\_version**<br><br><br>STRING |
| **body**<br><br><br>STRING |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_sent**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **direction**<br><br><br>STRING |
| **error\_code**<br><br><br>STRING |
| **error\_message**<br><br><br>STRING |
| **from**<br><br><br>STRING |
| **messaging\_service\_sid**<br><br><br>STRING |
| **num\_media**<br><br><br>INTEGER |
| **num\_segments**<br><br><br>INTEGER |
| **price**<br><br><br>NUMBER |
| **price\_unit**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **subresource\_uris**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand subresource\_uris<br><br><table> <tr> <td> <p> <strong>								subresource							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uri							</strong> </p> <p>							STRING													</p> </td> </tr> </table><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand uri<br><br><table> </table> |
| **to**<br><br><br>STRING |
| **uri**<br><br><br>STRING |

### outgoing\_caller\_ids

The **outgoing\_caller\_ids** table returns a list of `OutgoingCallerId` resource representations, each representing a Caller ID number valid for a Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [outgoing_caller_ids schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/outgoing_caller_ids.json "Opens in new tab: outgoing_caller_ids schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/outgoing-caller-ids?code-sample=code-list-an-accounts-outgoing-caller-ids&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

outgoing\_caller\_ids table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **friendly\_name**<br><br><br>STRING |
| **phone\_number**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **uri**<br><br><br>STRING |

### queues

The **queues** table returns the list of call queues within your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/queue-resource#read-multiple-queue-resources "Opens in new tab: Twilio documentation")<br><br><br>[queues schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/queues.json "Opens in new tab: queues schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/queue-resource?code-sample=code-read-multiple-queue-resources&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

queues table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **average\_wait\_time**<br><br><br>INTEGER |
| **current\_size**<br><br><br>INTEGER |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **friendly\_name**<br><br><br>STRING |
| **max\_size**<br><br><br>INTEGER |
| **sid**<br><br><br>STRING |
| **subresource\_uris**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand subresource\_uris<br><br><table> <tr> <td> <p> <strong>								subresource							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uri							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **uri**<br><br><br>STRING |

### recordings

The **recordings** table returns a list of recordings, each representing a recording generated during a call or conference in your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_created |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/recording#read-multiple-recording-resources "Opens in new tab: Twilio documentation")<br><br><br>[recordings schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/recordings.json "Opens in new tab: recordings schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/recording?code-sample=code-get-all-recordings-for-an-account&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

recordings table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **api\_version**<br><br><br>STRING |
| **call\_sid**<br><br><br>STRING |
| **channels**<br><br><br>INTEGER |
| **conference\_sid**<br><br><br>STRING |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **duration**<br><br><br>INTEGER |
| **encryption\_details**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand encryption\_details<br><br><table> <tr> <td> <p> <strong>								encryption_cek							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								encryption_public_key_sid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								iv							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **error\_code**<br><br><br>STRING |
| **price**<br><br><br>NUMBER |
| **price\_unit**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **source**<br><br><br>STRING |
| **start\_time**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **subresource\_uris**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand subresource\_uris<br><br><table> <tr> <td> <p> <strong>								subresource							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uri							</strong> </p> <p>							STRING													</p> </td> </tr> </table><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand uri<br><br><table> </table> |
| **uri**<br><br><br>STRING |

### transcriptions

The **transcriptions** table returns the full set of transcriptions generated from all recordings in your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/recording-transcription#read-multiple-transcription-resources "Opens in new tab: Twilio documentation")<br><br><br>[transcriptions schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/transcriptions.json "Opens in new tab: transcriptions schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/recording-transcription?code-sample=code-read-list-all-transcriptions&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

transcriptions table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **api\_version**<br><br><br>STRING |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **duration**<br><br><br>INTEGER |
| **price**<br><br><br>NUMBER |
| **price\_unit**<br><br><br>STRING |
| **recording\_sid**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **transcription\_text**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **uri**<br><br><br>STRING |

### usage\_records

The **usage\_records** table returns a list of usage records in your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | account\_sid<br><br>category<br><br>start\_date |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | start\_date |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/api/usage-record#read-multiple-usagerecord-resources "Opens in new tab: Twilio documentation")<br><br><br>[usage_records schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/usage_records.json "Opens in new tab: usage_records schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/usage-record?code-sample=code-all-time-usage-all-usage-categories&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

usage\_records table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **api\_version**<br><br><br>STRING |
| **as\_of**<br><br><br>DATE-TIME |
| **category**<br><br><br>STRING |
| **count**<br><br>INTEGER<br><br>STRING |
| **count\_unit**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **end\_date**<br><br><br>DATE-TIME |
| **price**<br><br>NUMBER |
| **price\_unit**<br><br><br>STRING |
| **start\_date**<br><br><br>DATE-TIME |
| **subresource\_uris**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand subresource\_uris<br><br><table> <tr> <td> <p> <strong>								subresource							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uri							</strong> </p> <p>							STRING													</p> </td> </tr> </table><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand uri<br><br><table> </table> |
| **uri**<br><br><br>STRING |
| **usage**<br><br>NUMBER<br><br>STRING |
| **usage\_unit**<br><br><br>STRING |

### usage\_triggers

The **usage\_triggers** table returns list of usage triggers in your Twilio account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/api/usage-trigger#read-multiple-usagetrigger-resources "Opens in new tab: Twilio documentation")<br><br><br>[usage_triggers schema on GitHub](https://github.com/singer-io/tap-twilio/tree/master/tap_twilio/schemas/usage_triggers.json "Opens in new tab: usage_triggers schema on GitHub")<br><br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/usage-trigger?code-sample=code-read-multiple-usagetrigger-resources&code-language=curl&code-sdk-version=json "Opens in new tab: Twilio API method") |

usage\_triggers table schema

| **account\_sid**<br><br><br>STRING |
| --- |
| **api\_version**<br><br><br>STRING |
| **callback\_method**<br><br><br>STRING |
| **callback\_url**<br><br><br>STRING |
| **current\_value**<br><br><br>NUMBER |
| **date\_created**<br><br><br>DATE-TIME |
| **date\_fired**<br><br><br>DATE-TIME |
| **date\_updated**<br><br><br>DATE-TIME |
| **friendly\_name**<br><br><br>STRING |
| **recurring**<br><br><br>STRING |
| **sid**<br><br><br>STRING |
| **trigger\_by**<br><br><br>STRING |
| **trigger\_value**<br><br><br>NUMBER |
| **uri**<br><br><br>STRING |
| **usage\_category**<br><br><br>STRING |
| **usage\_record\_uri**<br><br><br>STRING |