2024-03-14 15:01:10 +00:00
---
id: zendesk
title: Zendesk
---
# Zendesk
ToolJet can connect to Zendesk APIs to read and write data using OAuth 2.0, which helps us to limit an application's access to a user's account.
2024-03-26 10:27:24 +00:00
- [Connection ](#connection )
- [Querying Zendesk ](#querying-zendesk )
2024-03-14 15:01:10 +00:00
2024-03-26 10:27:24 +00:00
## Connection
2024-03-14 15:01:10 +00:00
ToolJet connects to your Zendesk app using :
2024-03-26 10:27:24 +00:00
2024-03-14 15:01:10 +00:00
- **Zendesk Sub-domain**
- **Client ID**
- **Client Secret**
2024-03-26 10:27:24 +00:00
## Authorization Scopes
2024-03-14 15:01:10 +00:00
You can create a Zendesk data source with one of either of the two permission scopes :
2024-03-26 10:27:24 +00:00
1. **Read Only**
2. **Read and Write**
2024-03-14 15:01:10 +00:00
:::info
You must first be a verified user to make Zendesk API requests. This is configured in the Admin Center interface in **Apps and integrations > APIs > Zendesk APIs.** For more information, see Security and Authentication in the [Zendesk Support API reference ](https://developer.zendesk.com/api-reference/ticketing/introduction/#security-and-authentication ) or [check out Zendesk's docs ](https://support.zendesk.com/hc/en-us/articles/4408845965210 ).
:::
To connect Zendesk datasource to your ToolJet application, go to the data source manager on the left-sidebar and click on the `+` button. Select Zendesk from the list of available datasources, provide the credentials and click **Connect to Zendesk** and authenticate via OAuth. And click **Save** to save the datasource.
< div style = {{textAlign: ' center ' } } >
2024-03-26 10:27:24 +00:00

2024-03-14 15:01:10 +00:00
< / div >
## Operations
2024-03-26 10:27:24 +00:00
2024-03-14 15:01:10 +00:00
1. ** [List Tickets ](/docs/data-sources/zendesk#list-tickets )**
2. ** [List requested Tickets ](/docs/data-sources/zendesk#list-requested-tickets )**
3. ** [Show a Ticket ](/docs/data-sources/zendesk#show-tickets )**
4. ** [Update a Ticket ](/docs/data-sources/zendesk#update-tickets )**
5. ** [List Users ](/docs/data-sources/zendesk#list-users )**
6. ** [Get Profile ](/docs/data-sources/zendesk#get-profile )**
7. ** [Search query ](/docs/data-sources/zendesk#search-query )**
### List Tickets
2024-03-26 10:27:24 +00:00
2024-03-14 15:01:10 +00:00
Lists all the tickets in your Zendesk account.
### List requested Tickets
2024-03-26 10:27:24 +00:00
Lists all the tickets requested by the user.
| Fields | description |
| ------- | ------------------ |
| User ID | The id of the user |
2024-03-14 15:01:10 +00:00
### Show Tickets
2024-03-26 10:27:24 +00:00
2024-03-14 15:01:10 +00:00
Gets a ticket's properties with the given ID, though not the ticket comments.
2024-03-26 10:27:24 +00:00
| Fields | description |
| --------- | -------------------- |
| Ticket ID | The id of the ticket |
2024-03-14 15:01:10 +00:00
### Update Tickets
2024-03-26 10:27:24 +00:00
2024-03-14 15:01:10 +00:00
Updates a ticket's properties with the given ID.
2024-03-26 10:27:24 +00:00
| Fields | description |
| --------- | ---------------------------------------------------------------------------------------- |
| Ticket ID | The id of the ticket |
| Body | The properties and values to update. Example: `{{({ "ticket": {"status": "solved"} })}}` |
2024-03-14 15:01:10 +00:00
### List Users
2024-03-26 10:27:24 +00:00
2024-03-14 15:01:10 +00:00
Lists all the users in your Zendesk account.
### Get Profile
2024-03-26 10:27:24 +00:00
2024-03-14 15:01:10 +00:00
Gets a user's profile with the given ID.
2024-03-26 10:27:24 +00:00
| Fields | description |
| ------- | ------------------ |
| User ID | The id of the user |
2024-03-14 15:01:10 +00:00
### Search Query
2024-03-26 10:27:24 +00:00
2024-03-14 15:01:10 +00:00
The Search Query uses Zendesk's Search API to return tickets, users, and organizations with defined filters.
Common filters include:
2024-03-26 10:27:24 +00:00
2024-03-14 15:01:10 +00:00
- `type:ticket`
- `type:user`
- `type:organization`
- `type:ticket organization:12345 status:open`
2024-03-26 10:27:24 +00:00
| Fields | description |
| ------ | ---------------- |
| Query | The search query |