Skip to main content

Zendesk Chat

This page contains the setup guide and reference information for Zendesk Chat.

Features

FeatureSupported?
Full Refresh - OverwriteYes
Full Refresh - AppendYes
Incremental - AppendYes
Incremental - DedupedYes

Prerequisites

  • A Zendesk account with an Administrator role
  • Zendesk Access Token
  • Zendesk subdomain

Setup guide

Step 1: Create the OAuth API client

Follow these instructions or the below steps to Add API client. This process will produce the client id and client secret you will need to generate the access token needed to set up the source in Daspire.

  1. Inside your Zendesk Chat account in the left navbar, click Settings, then click Account. Zendesk Chat API Client

  2. Click Add API client.

  3. Enter a name for the client and company of your choosing, and for the Redirect URL. You can use http://localhost:8080 as the Redirect URL. Once done, click Create API client. Zendesk Chat Create API Token

  4. You will be shown a popup with the Client ID and Client secret. Zendesk Chat Client Details

    NOTE: The client secret is shown only once, so make a note of it for later use.

Step 2: Obtain the Access token

  1. Format the below URL with your own CLIENT_ID which you obtained in step 1 and your Zendesk SUBDOMAIN.
https://www.zopim.com/oauth2/authorizations/new?response_type=token&client_id=CLIENT_ID&scope=read%20write&subdomain=SUBDOMAIN
  1. Paste it into a new browser tab, and press Enter.

  2. The call will be made, possibly asking you to log in and select Allow to generate the token. Zendesk Chat OAuth

  3. If the call succeeds, your browser's address field will contain your access_token. Copy it. Zendesk Chat Access Token

Step 3: Set up Zendesk Chat in Daspire

  1. Select Zendesk Chat from the Source list.

  2. Enter a Source Name.

  3. To authenticate your account, select Access Token and enter the Access Token you generated in Step 2.

  4. For Subdomain, enter your Zendesk subdomain. This is the subdomain found in your account URL. For example, if your account URL is https://MY_SUBDOMAIN.zendesk.com/, then MY_SUBDOMAIN is your subdomain.

  5. (Optional) For Start Date, enter a UTC date and time programmatically in the format YYYY-MM-DDTHH:mm:ssZ. The data added on and after this date will be replicated. If this field is left blank, Daspire will replicate the data for the last two years by default.

  6. Click Save & Test.

Output schema

This Source is capable of syncing the following core Streams:

Data type mapping

Integration TypeDaspire Type
stringstring
numbernumber
arrayarray
objectobject

Performance considerations

The integration is restricted by normal Zendesk requests limitation. The integration ideally should not run into Zendesk API limitations under normal usage.

Troubleshooting

Max number of tables that can be synced at a time is 6,000. We advise you to adjust your settings if it fails to fetch schema due to max number of tables reached.