Data APIs

Data APIs

Zoho Desk provides a set of APIs that facilitate interaction between your extension and your help desk portal. The APIs available are listed below:

  1. Ticket Object
  2. Contact Object
  3. Account Object
  4. Current Call Object
  5. User Object
  6. Portal Object
  7. Department Object
  8. Extension Object
  9. Ticket Object
This object provides you with access to the various properties of a ticket. It is accessible only from the desk.ticket.detail.rightpanel, desk.ticket.detail.subtab and desk.ticket.detail.lefttab widget locations.



Request:
  1. ZOHODESK.get(“ticket”."<property>").then(function(response) {
  2. //Response - requested detail
  3. }).catch(function(err){
  4.   //Error Handling
  5. })

Response:
  1. {
  2. "ticket"."<property>": "<Requested Value>",
  3. "status": "success"
  4. }

Contact Object

This object provides you with access to the various properties of a contact. It is accessible only from the contact detail page locations, and global widget locations.


Request:
  1. ZOHODESK.get("contact.<property>").then(function(response) {
  2. //Response - requested detail
  3. }).catch(function(err){
  4.   //Error Handling
  5. })


Response:
  1. {
  2. "contact.<property>": "<Requested Value>",
  3. "status": "success"
  4. }

Account Object

This object provides you with access to the various properties of a account. It is accessible only from the account detail page locations, and global widget locations.


Request:
  1. ZOHODESK.get("account.<property>").then(function(response) {
  2. //Response - requested detail
  3. }).catch(function(err){
  4.   //Error Handling
  5. })


Response:
  1. {
  2. "account.<property>": "<Requested Value>",
  3. "status": "success"
  4. }

Current Call Object

Listed below are the properties related to the user object:


Request:
  1. ZOHODESK.get("currentCall.<property>").then(function(response){
  2. // response requested-details
  3. }).catch(function(err){
  4. // Error Handling
  5. })


Response:
  1. {
  2. "currentCall.<property>": "<Requested Value>",
  3. "status": "success"
  4. }

User Object

Listed below are the properties related to the user object:


Request:
  1. ZOHODESK.get("user.<property>").then(function(response){
  2. // response requested-details
  3. }).catch(function(err){
  4. // Error Handling
  5. })

Response:
  1. {
  2. "user.<property>": "<Requested Value>",
  3. "status": "success"
  4. }

Portal Object

Listed below are the properties related to the portal object:



Request:
  1. ZOHODESK.get("portal.<property>").then(function(response){
  2. // response requested-detail
  3. }).catch(function(err){
  4. // Error Handling
  5. })

Response:
  1. {
  2. "portal.<property>": "<Requested Value>",
  3. "status": "success"
  4. }

Department Object

Listed below are the properties related to the department object:


Request:
  1. ZOHODESK.get("department.<property>").then(function(response){
  2. // response requested-detail
  3. }).catch(function(err){
  4. // Error Handling
  5. })

Response:
  1. {
  2. "department.<property>":"<Requested Value>",
  3. "status":"success"
  4. }

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION











                                        You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                            Manage your brands on social media

                                              Zoho Desk Resources

                                              • Desk Community Learning Series


                                              • Digest


                                              • Functions


                                              • Meetups


                                              • Kbase


                                              • Resources


                                              • Glossary


                                              • Desk Marketplace


                                              • MVP Corner


                                              • Word of the Day


                                                Zoho Marketing Automation

                                                  Zoho Sheet Resources

                                                   

                                                      Zoho Forms Resources


                                                        Secure your business
                                                        communication with Zoho Mail


                                                        Mail on the move with
                                                        Zoho Mail mobile application

                                                          Stay on top of your schedule
                                                          at all times


                                                          Carry your calendar with you
                                                          Anytime, anywhere




                                                                Zoho Sign Resources

                                                                  Sign, Paperless!

                                                                  Sign and send business documents on the go!

                                                                  Get Started Now




                                                                          Zoho TeamInbox Resources



                                                                                  Zoho DataPrep Resources



                                                                                    Zoho DataPrep Demo

                                                                                    Get a personalized demo or POC

                                                                                    REGISTER NOW


                                                                                      Design. Discuss. Deliver.

                                                                                      Create visually engaging stories with Zoho Show.

                                                                                      Get Started Now









                                                                                                          • Related Articles

                                                                                                          • Data Storage APIs

                                                                                                            Sometimes, the extensions you create might require data storage and retrieval capabilities. To help you in such cases, we provide a data store for extensions to set (store) and get (retrieve) data. The data can be deleted when it is no longer ...
                                                                                                          • Event APIs

                                                                                                            The following APIs help you incorporate custom functionalities in your extension when certain events occur in your help desk portal. Ticket Events You can configure extensions to receive information when an event, such as adding a comment to a ticket ...
                                                                                                          • Extension APIs

                                                                                                            These APIs fetch or set information related to the extension. Get extension config variable: Fetch the installation parameters of the extension. In production mode, only those parameters that have the value of the secure key set to false are ...
                                                                                                          • Zoho Vertical Solutions APIs - An Overview

                                                                                                            Zoho Vertical Solutions' APIs provide a developer-centric method to interact with and extend the capabilities of your Zoho Vertical Solution. These APIs are designed specifically for your solution orgs. This guide offers information on how to ...
                                                                                                          • Invoke APIs

                                                                                                            Below are some extra APIs that you can use in your extension.  ROUTE_TO INSERT MODAL_CLOSE RESIZE ROUTE_TO This command navigates between the multiple subtabs on the ticket detail page. Listed below are the different routes supported: ...
                                                                                                            Wherever you are is as good as
                                                                                                            your workplace

                                                                                                              Resources

                                                                                                              Videos

                                                                                                              Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                              eBooks

                                                                                                              Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                              Webinars

                                                                                                              Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                              CRM Tips

                                                                                                              Make the most of Zoho CRM with these useful tips.



                                                                                                                Zoho Show Resources