Search Zoho Desk Records via API
- Peter
- Difficulty: Intermediate
- Estimated reading time: 15 mins
With the Zoho Desk API, you are able to retrieve records based on a search term. You can search across all modules or specifically in the following:
By way of using a relevant business use case in our script, we will be retrieving all of a CRM Contact’s Tickets in Zoho Desk and adding a link to the most recently opened ticket. Please consult the Zoho Desk API Reference for more information on the specific endpoint for each search module.
Before you use this script you should be generally familiar with Deluge scripting and the invokeurl
function.
To use this custom function you will need to create an API Connection to Zoho Desk. You can learn how to use Connections in Zoho CRM here (for Zoho Desk use the Zoho OAuth connection). The scopes you need for this code to work are Desk.search.READ
and Desk.tickets.READ
.
Click here to copy these scripts. For more Zoho-wizardry, check out our GitHub page.