Get started with a free trial today
Already have an account? Sign in
Stitch’s Zendesk Support integration replicates data using theZendesk Support API. Refer to theSchema section for a list of objects available for replication.
A high-level look at Stitch's Zendesk Support (v2) integration, including release status, useful links, and the features supported in Stitch.
| STITCH | |||
| Release status | Released on May 24, 2023 | Supported by | |
| Stitch plan | Standard | API availability | Available |
| Singer GitHub repository | |||
| REPLICATION SETTINGS | |||
| Anchor Scheduling | Supported | Advanced Scheduling | Supported |
| Table-level reset | Unsupported | Configurable Replication Methods | Unsupported |
| DATA SELECTION | |||
| Table selection | Supported | Column selection | Supported |
| Select all | Supported | ||
| TRANSPARENCY | |||
| Extraction Logs | Supported | Loading Reports | Supported |
To set up Zendesk Support in Stitch, you need:
Administrator permissions in Zendesk Support. Some data types in Zendesk Support may only be accessed with Admin permissions. For example: To replicate ticket metric or tag data, Zendesk Support’s API requires a user with Admin permissions.
To ensure you can replicate all the data you need, we recommend a user with Admin permissions set up the integration.
A specific Zendesk Support plan if replicating ticket forms or SLA policies:
All other tables, with the exception ofsla_policies andticket_forms will be available for replication even if you aren’t on either of these Zendesk Support plans.
On the Stitch Dashboard page, click theAdd Integration button.
Click theZendesk Support icon.
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 Zendesk Support” would create a schema calledstitch_zendesk_support in the destination.Note: Schema names cannot be changed after you save the integration.
stitchdata.zendesk.com, onlystitchdata would be entered into this field.The Sync Historical Data setting defines the starting date for your Zendesk Support integration. This means that dataequal to or newer than this date will be replicated to your data warehouse.
Change this setting if you want to replicate data beyond Zendesk Support’s default setting of1 year. For a detailed look at historical replication jobs, check out theSyncing Historical SaaS Data guide.
In theReplication Frequency section, you’ll create the integration’sreplication schedule. An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.
Zendesk Support integrations support the following replication scheduling methods:
Advanced Scheduling using Cron (Advanced or Premium plans only)
To keep your row usage low, consider setting the integration to replicate less frequently. See theUnderstanding and Reducing Your Row Usage guide for tips on reducing your usage.
The last step is to select the tables and columns you want to replicate.Learn about the available tables for this integration.
Note: If a replication job is currently in progress, new selections won’t be used until the next job starts.
For Zendesk Support integrations, you can select:
Individual tables and columns
All tables and columns
Click the tabs to view instructions for each selection method.
To track a table, click thecheckbox next to the table’s name. A blue checkmark means the table is set to replicate.
To track a column, click thecheckbox next to the column’s name. A blue checkmark means the column is set to replicate.
Click theTables to Replicate tab.
In the menu that displays, clickTrack all Tables and Fields:

After you finish setting up Zendesk Support, itsSync Status may show asPending on either the Stitch Dashboard or in the Integration Details page.
For a new integration, aPending status indicates that Stitch is in the process of scheduling the initial replication job for the integration.This may take some time to complete.
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 theAnchor Scheduling documentation for more information.
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.
To replicate SLA policies and ticket forms - or thesla_policies andticket_forms tables - you need to be on an Enterprise or Professional Zendesk Support plan.To replicateticket_forms on a Professional plan, you’ll also need to have the ticket forms add-on enabled in your Zendesk Support account.
If you set either table to replicate and don’t meet the requirements listed above, an error similar to the following will surface in the integration’sExtraction Logs:
tap - INFO replicated 0 records from "ticket_forms" endpointtap - CRITICAL {"error": {"message": "You do not have access to this page. Please contact the account owner of this help desk for further help.", "title": "Forbidden"}}To resolve the error, de-select the appropriate table(s). Reach out to Zendesk if you have questions about your Zendesk plan.
To replicate custom fields for Users and Organizations - or theusers andorganizations tables -you need to be on an Enterprise, Professional, or Team Zendesk plan.
If you set custom fields in theusers ororganizations tables to replicate and don’t meet the requirements listed above, an error similar to the following will surface in the integration’sExtraction Logs:
tap - WARNING The account credentials supplied do not have access to `organizations` custom fields.tap - WARNING The account credentials supplied do not have access to `users` custom fields.To resolve the error, de-select the appropriate field(s). Reach out to Zendesk if you have questions about your Zendesk plan.
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 forversion 2 of this integration.
This is the latest version of the Zendesk Support integration.
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 >customers), while case is maintained in PostgreSQL destinations (CusTomERs >CusTomERs). Refer to theLoading Guide for your destination for more info.
Thegroup_memberships table contains info about the groups your Zendesk Support agents are members of.
Note: Retrieving group membership data requires Zendesk Support Agent or Admin permissions.
As Zendesk Support’s API doesn’t currently provide a method for identifying deleted group memberships, we recommend periodically dropping this table and allowing Stitch to re-create it. Currently, dropping and re-populating the table is the only way to detect deletions.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| Join group_memberships with | on |
|---|---|
| groups | group_memberships.group_id = groups.id |
| organizations | group_memberships.group_id = organizations.group_id |
| satisfaction_ratings | group_memberships.group_id = satisfaction_ratings.group_id |
| tickets | group_memberships.group_id = tickets.group_id |
| users | group_memberships.group_id = users.default_group_id |
created_at DATE-TIME |
default BOOLEAN |
group_id INTEGER |
id INTEGER |
updated_at DATE-TIME |
url STRING |
user_id INTEGER |
Thegroups table contains info about the groups in your Zendesk Support account.
Note: Retrieving group data requires Zendesk Support Admin or Agent permissions.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| Join groups with | on |
|---|---|
| group_memberships | groups.id = group_memberships.group_id |
| organizations | groups.id = organizations.group_id |
| satisfaction_ratings | groups.id = satisfaction_ratings.group_id |
| tickets | groups.id = tickets.group_id |
| users | groups.id = users.default_group_id groups.id = users.id |
| macros | groups.id = macros.restriction.id |
created_at DATE-TIME |
deleted BOOLEAN |
id INTEGER |
name STRING |
updated_at DATE-TIME |
url STRING |
Themacros table contains info about the macros in your Zendesk Support account. Macros are actions defined by you that modify the values of a ticket’s fields.
Note: Retrieving macro data requires Zendesk Support Agent or Admin permissions.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| Join macros with | on |
|---|---|
| ticket_audits | macros.id = ticket_audits.events.macro_id |
| groups | macros.restriction.id = groups.id |
| users | macros.restriction.id = users.id |
actions ARRAY
| |||
active BOOLEAN | |||
created_at DATE-TIME | |||
description STRING | |||
id INTEGER | |||
position INTEGER | |||
restriction OBJECT
| |||
title STRING | |||
updated_at DATE-TIME | |||
url STRING |
Theorganizations table contains information about the organizations your end-users belong to.
Stitch’s Zendesk Support integration will replicate any custom fields associated with organization records.
Note: Replicating organization custom fields requires that you be on a Team, Professional, or Enterprise Zendesk Support plan and have Admin permissions in Zendesk Support.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| Join organizations with | on |
|---|---|
| groups | organizations.group_id = groups.id |
| group_memberships | organizations.group_id = group_memberships.group_id |
| satisfaction_ratings | organizations.group_id = satisfaction_ratings.group_id |
| tickets | organizations.group_id = tickets.group_id organizations.id = tickets.organization_id organizations.tags = tickets.tags |
| users | organizations.group_id = users.default_group_id organizations.id = users.organization_id organizations.tags = users.tags |
| tags | organizations.tags = tags.name |
created_at DATE-TIME |
deleted_at DATE-TIME |
details STRING |
domain_names ARRAY |
external_id STRING |
group_id INTEGER |
id INTEGER |
name STRING |
notes STRING |
organization_fields OBJECT |
shared_comments BOOLEAN |
shared_tickets BOOLEAN |
tags ARRAY |
updated_at DATE-TIME |
url STRING |
Thesatisfaction_ratings table contains info about ratings users have offered on support tickets.
Note: This table is only available if satisfaction ratings are enabled in your Zendesk Support account.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| Join satisfaction_ratings with | on |
|---|---|
| groups | satisfaction_ratings.group_id = groups.id |
| group_memberships | satisfaction_ratings.group_id = group_memberships.group_id |
| organizations | satisfaction_ratings.group_id = organizations.group_id |
| tickets | satisfaction_ratings.group_id = tickets.group_id satisfaction_ratings.ticket_id = tickets.id satisfaction_ratings.assignee_id = tickets.requester_id satisfaction_ratings.requester_id = tickets.requester_id satisfaction_ratings.assignee_id = tickets.follower_ids satisfaction_ratings.requester_id = tickets.follower_ids satisfaction_ratings.assignee_id = tickets.submitter_id satisfaction_ratings.requester_id = tickets.submitter_id satisfaction_ratings.assignee_id = tickets.collaborator_ids satisfaction_ratings.requester_id = tickets.collaborator_ids satisfaction_ratings.assignee_id = tickets.assignee_id satisfaction_ratings.requester_id = tickets.assignee_id |
| users | satisfaction_ratings.group_id = users.default_group_id satisfaction_ratings.assignee_id = users.id satisfaction_ratings.requester_id = users.id |
| ticket_audits | satisfaction_ratings.ticket_id = ticket_audits.ticket_id satisfaction_ratings.assignee_id = ticket_audits.author_id satisfaction_ratings.requester_id = ticket_audits.author_id |
| ticket_comments | satisfaction_ratings.ticket_id = ticket_comments.ticket_id satisfaction_ratings.assignee_id = ticket_comments.author_id satisfaction_ratings.requester_id = ticket_comments.author_id |
| ticket_metrics | satisfaction_ratings.ticket_id = ticket_metrics.ticket_id |
assignee_id INTEGER |
comment STRING |
created_at DATE-TIME |
group_id INTEGER |
id INTEGER |
reason STRING |
reason_id INTEGER |
requester_id INTEGER |
score STRING |
ticket_id INTEGER |
updated_at DATE-TIME |
url STRING |
Thesla_policies table contains info about the Service Level Agreements (SLAs) in your Zendesk Support account. An SLA is a documented agreement between a support provider and their customers that defines performance measures for support.
Note: Replicating SLA policies requires that you be on an Enterprise or Professional Zendesk Support plan, and have Admin permissions in Zendesk Support.
Full Table | |
Primary Key | id |
| Useful links |
created_at DATE-TIME | ||||||||
description STRING | ||||||||
filter OBJECT
| ||||||||
id INTEGER | ||||||||
policy_metrics ARRAY
| ||||||||
position INTEGER | ||||||||
title STRING | ||||||||
updated_at DATE-TIME | ||||||||
url STRING |
Thetags table the names and total number of applications of the tags in your Zendesk Support account.
Note: Retrieving tag data requires Zendesk Support Admin permissions.
Full Table | |
Primary Key | name |
| Useful links |
| Join tags with | on |
|---|---|
| organizations | tags.name = organizations.tags |
| tickets | tags.name = tickets.tags |
| users | tags.name = users.tags |
count INTEGER |
name STRING |
This table contains data about phone numbers in Zendesk Talk.
Full Table | |
Primary Key | id |
| Useful links |
capabilities OBJECT
| |||
categorised_greetings OBJECT | |||
categorised_greetings_with_sub_settings OBJECT | |||
country_code STRING | |||
created_at DATE-TIME | |||
default_greeting_ids ARRAY | |||
default_group_id INTEGER | |||
display_number STRING | |||
external BOOLEAN | |||
greeting_ids ARRAY | |||
group_ids ARRAY | |||
id INTEGER | |||
ivr_id INTEGER | |||
line_type STRING | |||
location STRING | |||
name STRING | |||
nickname STRING | |||
number STRING | |||
outbound_enabled BOOLEAN | |||
priority INTEGER | |||
recorded BOOLEAN | |||
schedule_id INTEGER | |||
sms_enabled BOOLEAN | |||
sms_group_id INTEGER | |||
token STRING | |||
toll_free BOOLEAN | |||
transcription BOOLEAN | |||
voice_enabled BOOLEAN |
Theticket_audits table contains info about the activity associated with a ticket. An audit is a history of all updates to a given ticket. When a ticket is updated in Zendesk Support, an audit record is created. Each audit represents a single update to a ticket.
A single audit record may include multiple event types. For example: A ticket comment, satisfaction rating, and a change event. For a full list of Zendesk Support audit event types,refer to Zendesk Support’s documentation.
This table uses Append-Only Incremental Replication. This means that new audit records, or updates made to existing audits, are appended as new rows to the end of the table.
Append-Only Incremental | |
Primary Key | id |
Replication Key | created_at |
| Useful links |
| Join ticket_audits with | on |
|---|---|
| macros | ticket_audits.events.macro_id = macros.id |
| ticket_comments | ticket_audits.id = ticket_comments.audit_id ticket_audits.events.audit_id = ticket_comments.audit_id ticket_audits.ticket_id = ticket_comments.ticket_id ticket_audits.author_id = ticket_comments.author_id |
| satisfaction_ratings | ticket_audits.ticket_id = satisfaction_ratings.ticket_id ticket_audits.author_id = satisfaction_ratings.assignee_id ticket_audits.author_id = satisfaction_ratings.requester_id |
| tickets | ticket_audits.ticket_id = tickets.id ticket_audits.author_id = tickets.requester_id ticket_audits.author_id = tickets.follower_ids ticket_audits.author_id = tickets.submitter_id ticket_audits.author_id = tickets.collaborator_ids ticket_audits.author_id = tickets.assignee_id |
| ticket_metrics | ticket_audits.ticket_id = ticket_metrics.ticket_id |
| users | ticket_audits.author_id = users.id |
author_id INTEGER | |||||||||||||||||||||||||||||||||||||||||||||||||
created_at DATE-TIME | |||||||||||||||||||||||||||||||||||||||||||||||||
events ARRAY
| |||||||||||||||||||||||||||||||||||||||||||||||||
id INTEGER | |||||||||||||||||||||||||||||||||||||||||||||||||
metadata OBJECT
| |||||||||||||||||||||||||||||||||||||||||||||||||
ticket_id INTEGER | |||||||||||||||||||||||||||||||||||||||||||||||||
via OBJECT
|
Theticket_comments table contains info about the comments on tickets, which is the conversation between requesters, collaborators, and agents. Comments can be public or private.
Key-based Incremental | |
Primary Key | id |
Replication Key | created_at |
| Useful links |
| Join ticket_comments with | on |
|---|---|
| ticket_audits | ticket_comments.audit_id = ticket_audits.id ticket_comments.audit_id = ticket_audits.events.audit_id ticket_comments.ticket_id = ticket_audits.ticket_id ticket_comments.author_id = ticket_audits.author_id |
| satisfaction_ratings | ticket_comments.ticket_id = satisfaction_ratings.ticket_id ticket_comments.author_id = satisfaction_ratings.assignee_id ticket_comments.author_id = satisfaction_ratings.requester_id |
| tickets | ticket_comments.ticket_id = tickets.id ticket_comments.author_id = tickets.requester_id ticket_comments.author_id = tickets.follower_ids ticket_comments.author_id = tickets.submitter_id ticket_comments.author_id = tickets.collaborator_ids ticket_comments.author_id = tickets.assignee_id |
| ticket_metrics | ticket_comments.ticket_id = ticket_metrics.ticket_id |
| users | ticket_comments.author_id = users.id |
attachments ARRAY | |||||||||||||||||||
audit_id INTEGER | |||||||||||||||||||
author_id INTEGER | |||||||||||||||||||
body STRING | |||||||||||||||||||
created_at DATE-TIME | |||||||||||||||||||
html_body STRING | |||||||||||||||||||
id INTEGER | |||||||||||||||||||
metadata OBJECT
| |||||||||||||||||||
plain_body STRING | |||||||||||||||||||
public BOOLEAN | |||||||||||||||||||
ticket_id INTEGER | |||||||||||||||||||
type STRING | |||||||||||||||||||
via OBJECT
|
Theticket_fields table contains info about the basic text and custom ticket fields in your Zendesk Support account.
Note: Retrieving ticket metric data requires Zendesk Support Agent or Admin permissions.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| Join ticket_fields with | on |
|---|---|
| ticket_forms | ticket_fields.id = ticket_forms.ticket_field_ids |
| tickets | ticket_fields.id = tickets.custom_fields.id |
active BOOLEAN | |||||
agent_description STRING | |||||
collapsed_for_agents BOOLEAN | |||||
created_at DATE-TIME | |||||
custom_field_options ARRAY
| |||||
description STRING | |||||
editable_in_portal BOOLEAN | |||||
id INTEGER | |||||
position INTEGER | |||||
raw_description STRING | |||||
raw_title STRING | |||||
raw_title_in_portal STRING | |||||
regexp_for_validation STRING | |||||
removable BOOLEAN | |||||
required BOOLEAN | |||||
required_in_portal BOOLEAN | |||||
sub_type_id INTEGER | |||||
system_field_options ARRAY | |||||
tag STRING | |||||
title STRING | |||||
title_in_portal STRING | |||||
type STRING | |||||
updated_at DATE-TIME | |||||
url STRING | |||||
visible_in_portal BOOLEAN |
Theticket_forms table contains info about the ticket forms in your Zendesk Support account.
Note: Replicating ticket forms requires that you be on an Enterprise Zendesk Support plan or a Professional plan with the corresponding add-on, and have Admin permissions in Zendesk Support.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| Join ticket_forms with | on |
|---|---|
| ticket_fields | ticket_forms.ticket_field_ids = ticket_fields.id |
| tickets | ticket_forms.ticket_field_ids = tickets.custom_fields.id ticket_forms.id = tickets.ticket_form_id |
active BOOLEAN |
created_at DATE-TIME |
default BOOLEAN |
display_name STRING |
end_user_visible BOOLEAN |
id INTEGER |
in_all_brands BOOLEAN |
name STRING |
position INTEGER |
raw_display_name STRING |
raw_name STRING |
restricted_brand_ids ARRAY |
ticket_field_ids ARRAY |
updated_at DATE-TIME |
url STRING |
This table contains data about reply times, agent work times, and requester wait times.
Key-based Incremental | |
Primary Key | id |
Replication Key | time |
| Useful links |
deleted BOOLEAN | ||||||
id INTEGER | ||||||
instance_id INTEGER | ||||||
metric STRING | ||||||
sla OBJECT
| ||||||
status OBJECT
| ||||||
ticket_id INTEGER | ||||||
time DATE-TIME | ||||||
type STRING |
Theticket_metrics table contains info about the metrics associated with Zendesk Support tickets.This table will not include records for deleted tickets.
Note: Retrieving ticket metric data requires Zendesk Support Admin permissions.
As Zendesk Support’s API doesn’t currently support returning metrics for deleted tickets, this table will not contain any metrics for deleted tickets.
If you believe you’re missing records, check in your Zendesk Support account to see if the missing records are for deleted tickets.
For more info on how Zendesk Support handles deleting tickets,refer to their documentation.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| Join ticket_metrics with | on |
|---|---|
| satisfaction_ratings | ticket_metrics.ticket_id = satisfaction_ratings.ticket_id |
| tickets | ticket_metrics.ticket_id = tickets.id |
| ticket_audits | ticket_metrics.ticket_id = ticket_audits.ticket_id |
| ticket_comments | ticket_metrics.ticket_id = ticket_comments.ticket_id |
agent_wait_time_in_minutes OBJECT
| ||
assigned_at DATE-TIME | ||
assignee_stations INTEGER | ||
assignee_updated_at DATE-TIME | ||
created_at DATE-TIME | ||
first_resolution_time_in_minutes OBJECT
| ||
full_resolution_time_in_minutes OBJECT
| ||
group_stations INTEGER | ||
id INTEGER | ||
initially_assigned_at DATE-TIME | ||
instance_id INTEGER | ||
latest_comment_added_at DATE-TIME | ||
metric STRING | ||
on_hold_time_in_minutes OBJECT
| ||
reopens INTEGER | ||
replies INTEGER | ||
reply_time_in_minutes OBJECT
| ||
requester_updated_at DATE-TIME | ||
requester_wait_time_in_minutes OBJECT
| ||
solved_at DATE-TIME | ||
status OBJECT
| ||
status_updated_at DATE-TIME | ||
ticket_id INTEGER | ||
time STRING | ||
type STRING | ||
updated_at DATE-TIME | ||
url STRING |
Thetickets table contains info about the tickets in your Zendesk Support account. Tickets are the means through which your end users (customers) communicate with your Zendesk Support agents.
Note: Retrieving ticket data requires Zendesk Support Admin permissions.
Stitch’s Zendesk Support integration will replicate all custom ticket fields.
Key-based Incremental | |
Primary Key | id |
Replication Key | generated_timestamp |
| Useful links |
| Join tickets with | on |
|---|---|
| groups | tickets.group_id = groups.id |
| group_memberships | tickets.group_id = group_memberships.group_id |
| organizations | tickets.group_id = organizations.group_id tickets.organization_id = organizations.id tickets.tags = organizations.tags |
| satisfaction_ratings | tickets.group_id = satisfaction_ratings.group_id tickets.id = satisfaction_ratings.ticket_id tickets.requester_id = satisfaction_ratings.assignee_id tickets.follower_ids = satisfaction_ratings.assignee_id tickets.submitter_id = satisfaction_ratings.assignee_id tickets.collaborator_ids = satisfaction_ratings.assignee_id tickets.assignee_id = satisfaction_ratings.assignee_id tickets.requester_id = satisfaction_ratings.requester_id tickets.follower_ids = satisfaction_ratings.requester_id tickets.submitter_id = satisfaction_ratings.requester_id tickets.collaborator_ids = satisfaction_ratings.requester_id tickets.assignee_id = satisfaction_ratings.requester_id |
| users | tickets.group_id = users.default_group_id tickets.organization_id = users.organization_id tickets.tags = users.tags tickets.requester_id = users.id tickets.follower_ids = users.id tickets.submitter_id = users.id tickets.collaborator_ids = users.id tickets.assignee_id = users.id |
| tags | tickets.tags = tags.name |
| ticket_fields | tickets.custom_fields.id = ticket_fields.id |
| ticket_forms | tickets.custom_fields.id = ticket_forms.ticket_field_ids tickets.ticket_form_id = ticket_forms.id |
| ticket_audits | tickets.id = ticket_audits.ticket_id tickets.requester_id = ticket_audits.author_id tickets.follower_ids = ticket_audits.author_id tickets.submitter_id = ticket_audits.author_id tickets.collaborator_ids = ticket_audits.author_id tickets.assignee_id = ticket_audits.author_id |
| ticket_comments | tickets.id = ticket_comments.ticket_id tickets.requester_id = ticket_comments.author_id tickets.follower_ids = ticket_comments.author_id tickets.submitter_id = ticket_comments.author_id tickets.collaborator_ids = ticket_comments.author_id tickets.assignee_id = ticket_comments.author_id |
| ticket_metrics | tickets.id = ticket_metrics.ticket_id |
allow_attachments BOOLEAN | ||||||||||||
allow_channelback BOOLEAN | ||||||||||||
assignee_id INTEGER | ||||||||||||
brand_id INTEGER | ||||||||||||
collaborator_ids ARRAY | ||||||||||||
created_at DATE-TIME | ||||||||||||
custom_fields ARRAY
| ||||||||||||
description STRING | ||||||||||||
due_at DATE-TIME | ||||||||||||
email_cc_ids ARRAY | ||||||||||||
external_id STRING | ||||||||||||
follower_ids ARRAY | ||||||||||||
followup_ids ARRAY | ||||||||||||
forum_topic_id INTEGER | ||||||||||||
generated_timestamp INTEGER | ||||||||||||
group_id INTEGER | ||||||||||||
has_incidents BOOLEAN | ||||||||||||
id INTEGER | ||||||||||||
is_public BOOLEAN | ||||||||||||
organization_id INTEGER | ||||||||||||
priority STRING | ||||||||||||
problem_id INTEGER | ||||||||||||
raw_subject STRING | ||||||||||||
recipient STRING | ||||||||||||
requester_id INTEGER | ||||||||||||
satisfaction_rating OBJECT, STRING
| ||||||||||||
sharing_agreement_ids ARRAY | ||||||||||||
status STRING | ||||||||||||
subject STRING | ||||||||||||
submitter_id INTEGER | ||||||||||||
tags ARRAY | ||||||||||||
ticket_form_id INTEGER | ||||||||||||
type STRING | ||||||||||||
updated_at DATE-TIME | ||||||||||||
url STRING | ||||||||||||
via OBJECT
|
Theusers table contains info about the users associated with your Zendesk Support account. This includes agents, admins, and end-users (customers).
Note: Retrieving user data requires Zendesk Support Admin permissions.
Stitch’s Zendesk Support integration will replicate any custom fields associated with user records.
Note: Replicating user custom fields requires that you be on a Team, Professional, or Enterprise Zendesk Support plan.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| Join users with | on |
|---|---|
| groups | users.default_group_id = groups.id users.id = groups.id |
| group_memberships | users.default_group_id = group_memberships.group_id |
| organizations | users.default_group_id = organizations.group_id users.organization_id = organizations.id users.tags = organizations.tags |
| satisfaction_ratings | users.default_group_id = satisfaction_ratings.group_id users.id = satisfaction_ratings.assignee_id users.id = satisfaction_ratings.requester_id |
| tickets | users.default_group_id = tickets.group_id users.organization_id = tickets.organization_id users.tags = tickets.tags users.id = tickets.requester_id users.id = tickets.follower_ids users.id = tickets.submitter_id users.id = tickets.collaborator_ids users.id = tickets.assignee_id |
| macros | users.id = macros.restriction.id |
| tags | users.tags = tags.name |
| ticket_audits | users.id = ticket_audits.author_id |
| ticket_comments | users.id = ticket_comments.author_id |
active BOOLEAN |
alias STRING |
chat_only BOOLEAN |
created_at DATE-TIME |
custom_role_id INTEGER |
default_group_id INTEGER |
details STRING |
STRING |
external_id STRING |
id INTEGER |
last_login_at DATE-TIME |
locale STRING |
locale_id INTEGER |
moderator BOOLEAN |
name STRING |
notes STRING |
only_private_comments BOOLEAN |
organization_id INTEGER |
permanently_deleted BOOLEAN |
phone STRING |
photo OBJECT |
report_csv BOOLEAN |
restricted_agent BOOLEAN |
role STRING |
role_type INTEGER |
shared BOOLEAN |
shared_agent BOOLEAN |
shared_phone_number BOOLEAN |
signature STRING |
suspended BOOLEAN |
tags ARRAY |
ticket_restriction STRING |
time_zone STRING |
two_factor_auth_enabled BOOLEAN |
updated_at DATE-TIME |
url STRING |
user_fields OBJECT |
verified BOOLEAN |
| Related | Troubleshooting |
Did this article help? If you have questions or feedback, feel free tosubmit a pull request with your suggestions,open an issue on GitHub, orreach out to us.