# Twilio

Twilio is a customer engagement platform.

For more information about the API, see [Twilio REST API](https://www.twilio.com/docs/usage/api).

See the [Schema](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Twilio.htm#Schema) section for a list of objects available for replication.See the [Schema](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Twilio.htm#Schema) section for a list of objects available for replication.

## Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

Information noteMake sure that the account you use has read access to the tables you want to fetch.

To obtain the Account SID and Auth token:

1. Log into your Twilio account.
2. Click Console.
3. Copy your Account SID and Auth Token.

## Creating the connection

For more information, see [Connecting to SaaS applications](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/Landing/connecting-web-applications.htm).

1. Fill in the required connection properties.

2. Provide a name for the connection in Connection name.

3. Select Open connection metadata to define metadata for the connection when it has been created.

4. Click Create.

Connection settings

| Setting | Description |
| --- | --- |
| Data gateway | Select a Data Movement gateway if required by your use case.<br><br>Information note<br><br>This field is not available with the Qlik Talend Cloud Starter subscription, as it does not support Data Movement gateway. If you have another subscription tier and do not want to use Data Movement gateway, select None.<br><br>For information on the benefits of Data Movement gateway and use cases that require it, see [Qlik Data Gateway - Data Movement](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/replication-gateway.htm). |
| Start Date | Enter the date, in the format `MM/DD/YYYY`, from which the data must be replicated from your source to your target. |
| Account SID | Account SID. |
| Auth Token | Authentication token. |
| Date Window Days | Enter a value. Example: 30.<br><br>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. |

## Schema

Information note

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

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

### account\_balance

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

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | account\_sid |

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** | Full Table |
| --- | --- |
| **Primary Key** | sid |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/iam/api/account#read-multiple-account-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/iam/api/account#code-list-all-accounts) |

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:<br><br><ul><li><b>subresource</b>: STRING</li><li><b>uri</b>: STRING</li></ul> |
| **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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/api/address#read-multiple-address-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/address#code-show-all-addresses) |

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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/monitor-alert#read-multiple-alert-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/usage/monitor-alert#code-list-all-alerts) |

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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_created |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/api/applications#read-multiple-application-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/applications#code-list-all-application-resource-representations) |

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** | Full Table |
| --- | --- |
| **Primary Key** | country\_code |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#read-a-list-of-countries)<br><br>[Twilio API method](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#code-read-a-list-of-countries) |

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:<br><br><ul><li><b>subresource</b>: STRING</li><li><b>uri</b>: STRING</li></ul> |
| **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** | Full Table |
| --- | --- |
| **Primary Keys** | iso\_country<br><br>phone\_number |
| **Useful links** | [Twilio API method](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource) |

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:<br><br><ul><li><b>MMS</b>: BOOLEAN</li><li><b>SMS</b>: BOOLEAN</li><li><b>fax</b>: BOOLEAN</li><li><b>voice</b>: BOOLEAN</li></ul> |
| **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** | Full Table |
| --- | --- |
| **Primary Keys** | iso\_country<br><br>phone\_number |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-mobile-resource)<br><br>[Twilio API method](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-mobile-resource#code-find-mobile-numbers-by-region) |

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:<br><br><ul><li><b>MMS</b>: BOOLEAN</li><li><b>SMS</b>: BOOLEAN</li><li><b>fax</b>: BOOLEAN</li><li><b>voice</b>: BOOLEAN</li></ul> |
| **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** | Full Table |
| --- | --- |
| **Primary Keys** | iso\_country<br><br>phone\_number |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-tollfree-resource)<br><br>[Twilio API method](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-tollfree-resource#code-find-any-toll-free-number) |

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:<br><br><ul><li><b>MMS</b>: BOOLEAN</li><li><b>SMS</b>: BOOLEAN</li><li><b>fax</b>: BOOLEAN</li><li><b>voice</b>: BOOLEAN</li></ul> |
| **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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/call-resource#read-multiple-call-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/call-resource#code-read-multiple-call-resources) |

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:<br><br><ul><li><b>subresource</b>: STRING</li><li><b>uri</b>: STRING</li></ul> |
| **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** | Full Table |
| --- | --- |
| **Primary Key** | uri |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/conference-participant-resource#twilio-docs-content-area)<br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/conference-participant-resource#code-create-a-conference-participant) |

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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/conference-resource#read-multiple-conference-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/conference-resource#code-read-multiple-conference-resources) |

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:<br><br><ul><li><b>subresource</b>: STRING</li><li><b>uri</b>: STRING</li></ul> |
| **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** | Full Table |
| --- | --- |
| **Primary Key** | sid |
| **Useful links** | [Twilio API method](https://www.twilio.com/docs/usage/api/address#code-list-dependent-pns-subresources) |

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:<br><br><ul><li><b>fax</b>: BOOLEAN</li><li><b>mms</b>: BOOLEAN</li><li><b>sms</b>: BOOLEAN</li><li><b>voice</b>: BOOLEAN</li></ul> |
| **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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource#twilio-docs-content-area)<br><br>[Twilio API method](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource#code-provision-a-phone-number) |

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:<br><br><ul><li><b>fax</b>: BOOLEAN</li><li><b>mms</b>: BOOLEAN</li><li><b>sms</b>: BOOLEAN</li><li><b>voice</b>: BOOLEAN</li></ul> |
| **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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio API method](https://www.twilio.com/docs/iam/api-keys/key-resource-v2010#read-a-key-resource) |

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** | Full Table |
| --- | --- |
| **Primary Key** | sid |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/messaging/api/media-resource#read-multiple-media-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/messaging/api/media-resource#code-read-media) |

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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/messaging/api/message-resource#read-multiple-message-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/messaging/api/message-resource#code-list-all-message-resources) |

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:<br><br><ul><li><b>subresource</b>: STRING</li><li><b>uri</b>: STRING</li></ul> |
| **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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio API method](https://www.twilio.com/docs/voice/api/outgoing-caller-ids#twilio-docs-content-area) |

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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/queue-resource#read-multiple-queue-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/queue-resource#code-read-multiple-queue-resources) |

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:<br><br><ul><li><b>subresource</b>: STRING</li><li><b>uri</b>: STRING</li></ul> |
| **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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_created |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/recording#read-multiple-recording-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/recording#code-get-all-recordings-for-an-account) |

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:<br><br><ul><li><b>encryption_cek</b>: STRING</li><li><b>encryption_public_key_sid</b>: STRING</li><li><b>iv</b>: STRING</li><li><b>type</b>: STRING</li></ul> |
| **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:<br><br><ul><li><b>subresource</b>: STRING</li><li><b>uri</b>: STRING</li></ul> |
| **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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/voice/api/recording-transcription#read-multiple-transcription-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/voice/api/recording-transcription#code-read-list-all-transcriptions) |

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** | CDC |
| --- | --- |
| **Primary Keys** | account\_sid<br><br>category<br><br>start\_date |
| **Replication Key** | start\_date |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/api/usage-record#read-multiple-usagerecord-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/usage-record#usage-all-categories) |

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:<br><br><ul><li><b>subresource</b>: STRING</li><li><b>uri</b>: STRING</li></ul> |
| **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** | CDC |
| --- | --- |
| **Primary Key** | sid |
| **Replication Key** | date\_updated |
| **Useful links** | [Twilio documentation](https://www.twilio.com/docs/usage/api/usage-trigger#read-multiple-usagetrigger-resources)<br><br>[Twilio API method](https://www.twilio.com/docs/usage/api/usage-trigger#code-read-multiple-usagetrigger-resources) |

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 |