docs/versioned_docs/version-2.6.0/data-sources/zendesk.md
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.
ToolJet connects to your Zendesk app using :
You can create a Zendesk data source with one of either of the two permission scopes :
:::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 or check out Zendesk's docs. :::
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.
Lists all the tickets in your Zendesk account.
Lists all the tickets requested by the user.
| Fields | description |
|---|---|
| User ID | The id of the user |
Gets a ticket's properties with the given ID, though not the ticket comments.
| Fields | description |
|---|---|
| Ticket ID | The id of the ticket |
Updates a ticket's properties with the given ID.
| Fields | description |
|---|---|
| Ticket ID | The id of the ticket |
| Body | The properties and values to update. Example: {{({ "ticket": {"status": "solved"} })}} |
Lists all the users in your Zendesk account.
Gets a user's profile with the given ID.
| Fields | description |
|---|---|
| User ID | The id of the user |
The Search Query uses Zendesk's Search API to return tickets, users, and organizations with defined filters. Common filters include:
type:tickettype:usertype:organizationtype:ticket organization:12345 status:open| Fields | description |
|---|---|
| Query | The search query |