# Freshdesk (v2)

Information note **Freshdesk is supported by the Singer community**   
This integration is powered by [Singer's](https://www.singer.io/) Freshdesk tap. For support, [visit the GitHub repo](https://github.com/singer-io/tap-freshdesk) or [join the Singer Slack](https://singer-slackin.herokuapp.com/).

## Freshdesk integration summary

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

## Freshdesk feature snapshot

A high-level look at Stitch's Freshdesk (v2) 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)** | Released on February 12, 2026 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Singer Community](https://www.singer.io/) |
| **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-freshdesk](https://github.com/singer-io/tap-freshdesk) |  |  |
| **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 Freshdesk

### Freshdesk setup requirements

To set up Freshdesk in Stitch, you need:

* **Administrator permissions in Freshdesk.** As Stitch will only be able to replicate data that the authorizing user has access to, we recommend that someone with these permissions complete the setup. For example: if the authorizing user only has access to a handful of tickets, Stitch will only be able to access and replicate the data for those tickets.

  Having a Freshdesk administrator create the integration will ensure that Stitch is able to replicate all the data in your Freshdesk account.

### Step 1: Retrieve your Freshdesk API Key

1. Sign into your Freshdesk account.
2. Click the **user menu (your icon) &gt; Profile Settings**.
3. Your API Key will display under the **Change Password** section of your profile page. Copy this key.

Leave this page open for now - you’ll need it to wrap things up in Stitch.

### Step 2: Add Freshdesk 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 **Freshdesk** 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 Freshdesk” would create a schema called `stitch_freshdesk` in the destination. **Note**: Schema names cannot be changed after you save the integration.

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

The Sync Historical Data setting defines the starting date for your Freshdesk 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 Freshdesk’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.

Freshdesk 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/freshdesk#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 Freshdesk 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 Freshdesk, 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.

## Freshdesk 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 2** of this integration.

This is the latest version of the Freshdesk 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.

### agents

The `agents` table contains info about the agents in your Freshdesk 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)** | id |
| **Useful links** | [Freshdesk documentation](https://developers.freshdesk.com/api/#agents "Opens in new tab: Freshdesk documentation")<br><br><br>[agents schema on GitHub](https://github.com/singer-io/tap-freshdesk/blob/master/tap_freshdesk/schemas/agents.json "Opens in new tab: agents schema on GitHub")<br><br><br>[Freshdesk API method](https://developers.freshdesk.com/api/#list_all_agents "Opens in new tab: Freshdesk API method") |

agents table foreign keys

| Join agents with | on |
| --- | --- |
| [groups](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#groups) | ```<br>agents.id = groups.agent_ids<br>```<br><br>```<br>agents.group_ids = groups.id<br>``` |
| [satisfaction_ratings](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#satisfaction-ratings) | ```<br>agents.id = satisfaction_ratings.agent_id<br>```<br><br>```<br>agents.group_ids = satisfaction_ratings.group_id<br>``` |
| [tickets](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#tickets) | ```<br>agents.id = tickets.responder_id<br>```<br><br>```<br>agents.group_ids = tickets.group_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#time-entries) | ```<br>agents.id = time_entries.agent_id<br>``` |
| [roles](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#roles) | ```<br>agents.role_ids = roles.id<br>``` |

agents table schema

| **available**<br><br><br>BOOLEAN |
| --- |
| **available\_since**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **occasional**<br><br><br>BOOLEAN |
| **signature**<br><br><br>STRING |
| **ticket\_scope**<br><br><br>INTEGER |
| **group\_ids**<br><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;. |
| **role\_ids**<br><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;. |
| **created\_at**<br><br><br>STRING |
| **updated\_at**<br><br><br>STRING |
| **contact**<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 contact<br><br><table> <tr> <td> <p> <strong>								active							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								job_title							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								language							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_login_at							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								mobile							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								time_zone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |

### companies

The `companies` table contains info about the companies your various customers and contacts belong to.

#### Custom Fields

If applicable, Stitch will replicate custom fields related to `companies` in Freshdesk.

| **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)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Freshdesk documentation](https://developers.freshdesk.com/api/#companies "Opens in new tab: Freshdesk documentation")<br><br><br>[Freshdesk API method](https://developers.freshdesk.com/api/#list_all_companies "Opens in new tab: Freshdesk API method") |

companies table foreign keys

| Join companies with | on |
| --- | --- |
| [tickets](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#tickets) | ```<br>companies.id = tickets.company_id<br>``` |

companies table schema

| **custom\_fields**<br><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 custom\_fields<br><br><table> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **description**<br><br><br>STRING |
| **domains**<br><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;. |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **note**<br><br><br>STRING |
| **created\_at**<br><br><br>STRING |
| **updated\_at**<br><br><br>STRING |

### contacts

The `contacts` table contains info about the customers or potential customers that have filed support tickets in any of the channels in your Freshdesk account.

#### Custom Fields

If applicable, Stitch will replicate custom fields related to `contacts` in Freshdesk.

| **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)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Freshdesk documentation](https://developers.freshdesk.com/api/#contacts "Opens in new tab: Freshdesk documentation")<br><br><br>[contacts schema on GitHub](https://github.com/singer-io/tap-freshdesk/blob/master/tap_freshdesk/schemas/contacts.json "Opens in new tab: contacts schema on GitHub")<br><br><br>[Freshdesk API method](https://developers.freshdesk.com/api/#list_all_contacts "Opens in new tab: Freshdesk API method") |

contacts table schema

| **custom\_fields**<br><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 custom\_fields<br><br><table> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **other\_companies**<br><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;. |
| **view\_all\_tickets**<br><br><br>BOOLEAN |
| **id**<br><br><br>INTEGER |
| **other\_emails**<br><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;. |
| **company\_id**<br><br><br>NUMBER |
| **email**<br><br><br>STRING |
| **job\_title**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **tags**<br><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;. |
| **deleted**<br><br><br>BOOLEAN |
| **updated\_at**<br><br><br>STRING |
| **phone**<br><br><br>STRING |
| **address**<br><br><br>STRING |
| **active**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **language**<br><br><br>STRING |
| **mobile**<br><br><br>STRING |
| **created\_at**<br><br><br>STRING |
| **twitter\_id**<br><br><br>STRING |
| **time\_zone**<br><br><br>STRING |
| **avatar**<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;. |

### conversations

The `conversations` table contains info about replies and public/private notes added to the tickets in your Freshdesk 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)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Freshdesk documentation](https://developers.freshdesk.com/api/#conversations "Opens in new tab: Freshdesk documentation")<br><br><br>[conversations schema on GitHub](https://github.com/singer-io/tap-freshdesk/blob/master/tap_freshdesk/schemas/conversations.json "Opens in new tab: conversations schema on GitHub")<br><br><br>[Freshdesk API method](https://developers.freshdesk.com/api/#list_all_ticket_notes "Opens in new tab: Freshdesk API method") |

conversations table foreign keys

| Join conversations with | on |
| --- | --- |
| [tickets](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#tickets) | ```<br>conversations.ticket_id = tickets.id<br>``` |
| [satisfaction_ratings](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#satisfaction-ratings) | ```<br>conversations.ticket_id = satisfaction_ratings.ticket_id<br>``` |

conversations table schema

| **body\_text**<br><br><br>STRING |
| --- |
| **id**<br><br><br>INTEGER |
| **incoming**<br><br><br>BOOLEAN |
| **private**<br><br><br>BOOLEAN |
| **user\_id**<br><br><br>INTEGER |
| **support\_email**<br><br><br>STRING |
| **source**<br><br><br>INTEGER |
| **ticket\_id**<br><br><br>INTEGER |
| **to\_emails**<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;. |
| **from\_email**<br><br><br>STRING |
| **cc\_emails**<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;. |
| **bcc\_emails**<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;. |
| **created\_at**<br><br>STRING |
| **updated\_at**<br><br>STRING |

### groups

The `groups` table contains info about the groups your agents belong to.

| **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)** | id |
| **Useful links** | [Freshdesk documentation](https://developers.freshdesk.com/api/#groups "Opens in new tab: Freshdesk documentation")<br><br><br>[groups schema on GitHub](https://github.com/singer-io/tap-freshdesk/blob/master/tap_freshdesk/schemas/groups.json "Opens in new tab: groups schema on GitHub")<br><br><br>[Freshdesk API method](https://developers.freshdesk.com/api/#list_all_groups "Opens in new tab: Freshdesk API method") |

groups table foreign keys

| Join groups with | on |
| --- | --- |
| [agents](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#agents) | ```<br>groups.agent_ids = agents.id<br>```<br><br>```<br>groups.id = agents.group_ids<br>``` |
| [satisfaction_ratings](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#satisfaction-ratings) | ```<br>groups.agent_ids = satisfaction_ratings.agent_id<br>```<br><br>```<br>groups.id = satisfaction_ratings.group_id<br>``` |
| [tickets](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#tickets) | ```<br>groups.agent_ids = tickets.responder_id<br>```<br><br>```<br>groups.id = tickets.group_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#time-entries) | ```<br>groups.agent_ids = time_entries.agent_id<br>``` |

groups table schema

| **agent\_ids**<br><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;. |
| --- |
| **auto\_ticket\_assign**<br><br><br>INTEGER, BOOLEAN |
| **business\_hour\_id**<br><br><br>INTEGER |
| **description**<br><br><br>STRING |
| **escalate\_to**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **unassigned\_for**<br><br><br>STRING |
| **created\_at**<br><br><br>STRING |
| **updated\_at**<br><br><br>STRING |

### roles

The `roles` table contains info about the various roles that can be assigned to team members in your Freshdesk 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)** | id |
| **Useful links** | [Freshdesk documentation](https://developers.freshdesk.com/api/#roles "Opens in new tab: Freshdesk documentation")<br><br><br>[roles schema on GitHub](https://github.com/singer-io/tap-freshdesk/blob/master/tap_freshdesk/schemas/roles.json "Opens in new tab: roles schema on GitHub")<br><br><br>[Freshdesk API method](https://developers.freshdesk.com/api/#list_all_roles "Opens in new tab: Freshdesk API method") |

roles table foreign keys

| Join roles with | on |
| --- | --- |
| [agents](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#agents) | ```<br>roles.id = agents.role_ids<br>``` |

roles table schema

| **description**<br><br><br>STRING |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **default**<br><br><br>BOOLEAN |
| **created\_at**<br><br><br>STRING |
| **updated\_at**<br><br><br>STRING |

### satisfaction\_ratings

The `satisfaction_ratings` table contains info about customer satisfaction survey responses, or satisfaction ratings.

| **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)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Freshdesk documentation](https://developers.freshdesk.com/api/#satisfaction-ratings "Opens in new tab: Freshdesk documentation")<br><br><br>[satisfaction_ratings schema on GitHub](https://github.com/singer-io/tap-freshdesk/blob/master/tap_freshdesk/schemas/satisfaction_ratings.json "Opens in new tab: satisfaction_ratings schema on GitHub")<br><br><br>[Freshdesk API method](https://developers.freshdesk.com/api/#view_all_satisfaction_ratings "Opens in new tab: Freshdesk API method") |

satisfaction\_ratings table foreign keys

| Join satisfaction\_ratings with | on |
| --- | --- |
| [agents](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#agents) | ```<br>satisfaction_ratings.agent_id = agents.id<br>```<br><br>```<br>satisfaction_ratings.group_id = agents.group_ids<br>``` |
| [groups](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#groups) | ```<br>satisfaction_ratings.agent_id = groups.agent_ids<br>```<br><br>```<br>satisfaction_ratings.group_id = groups.id<br>``` |
| [tickets](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#tickets) | ```<br>satisfaction_ratings.agent_id = tickets.responder_id<br>```<br><br>```<br>satisfaction_ratings.group_id = tickets.group_id<br>```<br><br>```<br>satisfaction_ratings.ticket_id = tickets.id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#time-entries) | ```<br>satisfaction_ratings.agent_id = time_entries.agent_id<br>``` |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#conversations) | ```<br>satisfaction_ratings.ticket_id = conversations.ticket_id<br>``` |

satisfaction\_ratings table schema

| **survey\_id**<br><br><br>INTEGER |
| --- |
| **user\_id**<br><br><br>INTEGER |
| **feedback**<br><br><br>STRING |
| **created\_at**<br><br><br>STRING |
| **updated\_at**<br><br><br>STRING |
| **agent\_id**<br><br><br>INTEGER |
| **group\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **ticket\_id**<br><br><br>INTEGER |
| **ratings**<br><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 ratings<br><br><table> <tr> <td> <p> <strong>								question							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |

### tickets

The `tickets` table contains info about the tickets in your Freshdesk account.

#### Custom Fields

If applicable, Stitch will replicate custom fields related to `tickets` in Freshdesk.

| **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)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [tickets schema on GitHub](https://github.com/singer-io/tap-freshdesk/blob/master/tap_freshdesk/schemas/tickets.json "Opens in new tab: tickets schema on GitHub")<br><br><br>[Freshdesk API method](https://developers.freshdesk.com/api/#tickets "Opens in new tab: Freshdesk API method") |

tickets table foreign keys

| Join tickets with | on |
| --- | --- |
| [agents](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#agents) | ```<br>tickets.responder_id = agents.id<br>```<br><br>```<br>tickets.group_id = agents.group_ids<br>``` |
| [groups](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#groups) | ```<br>tickets.responder_id = groups.agent_ids<br>```<br><br>```<br>tickets.group_id = groups.id<br>``` |
| [satisfaction_ratings](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#satisfaction-ratings) | ```<br>tickets.responder_id = satisfaction_ratings.agent_id<br>```<br><br>```<br>tickets.group_id = satisfaction_ratings.group_id<br>```<br><br>```<br>tickets.id = satisfaction_ratings.ticket_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#time-entries) | ```<br>tickets.responder_id = time_entries.agent_id<br>``` |
| [companies](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#companies) | ```<br>tickets.company_id = companies.id<br>``` |
| [conversations](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#conversations) | ```<br>tickets.id = conversations.ticket_id<br>``` |

tickets table schema

| **custom\_fields**<br><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 custom\_fields<br><br><table> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **cc\_emails**<br><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;. |
| **updated\_at**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **to\_emails**<br><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;. |
| **id**<br><br><br>INTEGER |
| **fwd\_emails**<br><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;. |
| **source**<br><br><br>NUMBER |
| **due\_by**<br><br><br>STRING |
| **company\_id**<br><br><br>INTEGER |
| **responder\_id**<br><br><br>INTEGER |
| **priority**<br><br><br>NUMBER |
| **deleted**<br><br><br>BOOLEAN |
| **facebook\_id**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **fr\_due\_by**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **status**<br><br><br>NUMBER |
| **is\_escalated**<br><br><br>BOOLEAN |
| **reply\_cc\_emails**<br><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;. |
| **description**<br><br><br>STRING |
| **tags**<br><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;. |
| **email\_config\_id**<br><br><br>INTEGER |
| **phone**<br><br><br>STRING |
| **description\_text**<br><br><br>STRING |
| **requester\_id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **product\_id**<br><br><br>INTEGER |
| **fr\_escalated**<br><br><br>BOOLEAN |
| **created\_at**<br><br><br>STRING |
| **spam**<br><br><br>BOOLEAN |
| **twitter\_id**<br><br><br>STRING |
| **group\_id**<br><br><br>INTEGER |
| **company**<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 company<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **requester**<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 requester<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								mobile							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **stats**<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 stats<br><br><table> <tr> <td> <p> <strong>								closed_at							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_responded_at							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resolved_at							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |

### time\_entries

The `time_entries` table contains info about the time entries entered by agents working on tickets.

| **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)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [time_entries schema on GitHub](https://github.com/singer-io/tap-freshdesk/blob/master/tap_freshdesk/schemas/time_entries.json "Opens in new tab: time_entries schema on GitHub")<br><br><br>[Freshdesk API method](https://developers.freshdesk.com/api/#time-entries "Opens in new tab: Freshdesk API method") |

time\_entries table foreign keys

| Join time\_entries with | on |
| --- | --- |
| [agents](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#agents) | ```<br>time_entries.agent_id = agents.id<br>``` |
| [groups](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#groups) | ```<br>time_entries.agent_id = groups.agent_ids<br>``` |
| [satisfaction_ratings](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#satisfaction-ratings) | ```<br>time_entries.agent_id = satisfaction_ratings.agent_id<br>``` |
| [tickets](https://help.qlik.com/en-US/stitch/integrations/saas/freshdesk#tickets) | ```<br>time_entries.agent_id = tickets.responder_id<br>``` |

time\_entries table schema

| **time\_spent**<br><br><br>STRING |
| --- |
| **start\_time**<br><br><br>STRING |
| **created\_at**<br><br><br>STRING |
| **executed\_at**<br><br><br>STRING |
| **updated\_at**<br><br><br>STRING |
| **timer\_running**<br><br><br>BOOLEAN |
| **note**<br><br><br>STRING |
| **ticket\_id**<br><br><br>INTEGER |
| **billable**<br><br><br>BOOLEAN |
| **id**<br><br><br>INTEGER |
| **agent\_id**<br><br><br>INTEGER |