Queues API

Queues API

Queues CRUD APIs

Authorization

HeaderKey

Description

Authorization *

Zoho-oauthtoken<space><ACCESS_TOKEN>

Accept *

Set to application/json.

*All APIs are accessible under zohovoice.queues.ALL scope.

 

OAuth Doc

 

Create Queue

Use this API to create a queue.

  POST     https://voice.zoho.com/rest/json/zv/api/groups

 

Scope: zohovoice.queues.CREATE

 

Parameters:


Param Name

DataType

Description

data *

JSONObject

queue data as json.

name and members, isBulk, config keys are mandatory.

JSON Schema:

{

  "members"*: [

    "[AGENT_ID]"

  ],

"extension":9999,

  "emailNotificationConfig": "3",

  "name"*: "Customer Support",

  "emailId": "QUEUE EMAILID to send notification to queue emails",

  "queueWaitMusic": {

    "audioId": "",

    "enableDefaultAnnouncements": true

  },

  "qapId": "QUEUE AUDIO PROFILE ID",
"isBulk"*:false,

  "config"*: {

    "mwtformat": "seconds",

    "mwtwnaformat": "seconds",

    "max-wait-time-with-no-agent": 60,

    "max-wait-time": 60,

    "strategy": "top-down" //top-down,ring-progressively,round-robin,ring-all

  }

}

 

Data JSON:

 

Key

Datatype

Description

members *

JSON Array of Long

eg.[AGENT_ID1,AGENT_ID2]

extension

Integer

max four digits allowed

emailNotificationConfig

Integer

Do not notify -0, All Missed calls -1, Missedcalls with voicemail -2, All Calls - 3

name *

String

name of the queue

emailId

String

email ID for queue call missed notification

queueWaitMusic

JSONObject

{

    "audioId": "",

    "enableDefaultAnnouncements": true

  }

qapId

Long

Queue audio profile ID

isBulk *

boolean

false

config *

JSONObject

Queue configuration
eg:{

    "mwtformat": "seconds",

    "mwtwnaformat": "seconds",

    "max-wait-time-with-no-agent": 60,

    "max-wait-time": 60,

    "strategy": "top-down"

  }
strategy possible values are top-down, ring-progressively, round-robin, and ring-all

 

 

 

Response

SUCCESS

{

   "code":"200",

   "groupId":4061000001205001,

   "status": "SUCCESS"

}


FAILURE

{

   "code": "<App Error Code>",

   "message": "<Error Message>",

   "status": "ERROR"

}


Update Queue

Use this API to update a queue.

  PUT     https://voice.zoho.com/rest/json/zv/api/groups

 

Scope: zohovoice.queues.UPDATE

 

Parameters:

 

Param Name

DataType

Description

data *

JSONObject

queue data as json.

name and members, isBulk, config, groupid keys are mandatory.

JSON example:

{

   "name":"Sales Queue",

   "emailId":"queue1@zoho.com",

   "qapId":"2069000002486021",

   "members":[

      "2069000000005011",

      "2069000000044027"

   ],

   "emailNotificationConfig":"1",

   "queueWaitMusic":{

      "mode":"audio",

      "audioId":"",

      "enableDefaultAnnouncements":false

   },

   "isBulk":false,

   "extension":"9999",

   "config":{

      "max-wait-time":60,

      "max-wait-time-with-no-agent":60,

      "strategy":"top-down",

      "mwtformat":"seconds",

      "mwtwnaformat":"seconds"

   },

   "groupid":"2069000000250017"

}

agentChanged

Boolean

Set True, if members value order changed

 

Data JSON:

 

Key

Datatype

Description

members *

JSONArray of Long

eg. [AGENT_ID1,AGENT_ID2]

extension

Integer

max four digits allowed

emailNotificationConfig

Integer

Do not notify -0, All Missed calls -1, Missedcalls with voicemail -2, All Calls - 3

name *

String

name of the queue

emailId

String

email ID for queue call missed notification

queueWaitMusic

JSONObject

{

    "audioId": "",

    "enableDefaultAnnouncements": true

  }

qapId

Long

Queue audio profile ID

isBulk *

boolean

false

config *

JSONObject

Queue configuration
eg:{

    "mwtformat": "seconds",

    "mwtwnaformat": "seconds",

    "max-wait-time-with-no-agent": 60,

    "max-wait-time": 60,

    "strategy": "top-down"

  }
strategy possible values are top-down,ring-progressively,round-robin,ring-all

groupid

Long

unique ID of the queue

 

 

Response

SUCCESS

{

   "code":"200",

   "groupId":4061000001205001,

   "status": "SUCCESS"

}

 

FAILURE

{

   "code": "<App Error Code>",

   "message": "<Error Message>",

   "status": "ERROR"

}

 

Delete Queue

Use this API to delete queues.

  DELETE     https://voice.zoho.com/rest/json/zv/api/groups

 

Scope: zohovoice.queues.DELETE

 

Parameters:

 

Param Name

DataType

Description

groupIds *

String

Comma-separated unique ID

 

Response

SUCCESS

{

   "code":"200",

   "message":"success",

   "status": "SUCCESS"

}

 

FAILURE

{

   "code": "<App Error Code>",

   "message": "<Error Message>",

   "status": "ERROR"

}

 

Get All Queues

Use this API to get contact statuses.

  GET     https://voice.zoho.com/rest/json/zv/api/queues

 

Scope: zohovoice.queues.READ

 

Parameters:

 

Param Name

DataType

Description

from *

int

Start index

offset *

int

no of records

queueid

Long

To get a single queue detail

searchText

String

Search with queue name or queue email ID

 

Response

SUCCESS

{

  "code": "200",

  "queues": [

    {

      "name": "TestQ",

      "queueWaitMusic": {

        "mode": "audio",

        "audioId": "",

        "enableDefaultAnnouncements": true

      },

      "emailId": "divya.e+queue@zohotest.com",

      "enableDefaultAnnouncements": true,

      "id": "2069000000407011",

      "queueStrategy": "ring-progressively"

    },

    {

      "name": "Bulk Add",

      "queueWaitMusic": {

        "mode": "audio",

        "audioId": "",

        "enableDefaultAnnouncements": true

      },

      "enableDefaultAnnouncements": true,

      "id": "2069000001269159",

      "queueStrategy": "top-down"

    },

    {

      "name": "queueTestNew",

      "queueWaitMusic": {

        "mode": "audio",

        "audioId": "",

        "enableDefaultAnnouncements": true

      },

      "enableDefaultAnnouncements": true,

      "id": "2069000000117023",

      "queueStrategy": "ring-progressively"

    }

  ],

  "status": "SUCCESS"

}


FAILURE

{

    "code": "<App Error Code>",

    "message": "<Error Message>",

    "status": "ERROR"

}

 

 

 

Create Queue Audio Profile

Use this API to create a queue audio profile.

  POST     https://voice.zoho.com/rest/json/zv/api/queueaudioprofile

 

Scope: zohovoice.queues.CREATE

 

Parameters:

 

Param Name

DataType

Description

data *

JSONObject

queue data as json.

name keys is mandatory.

JSON Schema:

{

  "name": "US Support - Main ",

  "queueAudioConfig": {

    "announcementInterval": "70",

    "welcomeAnnouncement": {

      "mode": "text",

      "audioVoice": "2",

      "audioId": "",

      "audioLanguage": "en-US",

      "message": "Welcome greeting"

    },

    "positionAnnouncement": {

      "offline": {

        "mode": "text",

        "audioVoice": "2",

        "audioId": "",

        "audioLanguage": "en-US",

        "message": "Agents are offline now."

      },

      "busy": {

        "mode": "text",

        "audioVoice": "2",

        "audioId": "",

        "audioLanguage": "en-US",

        "message": "Agents are busy now"

      },

      "waiting": {

        "mode": "text",

        "audioVoice": "2",

        "audioId": "",

        "audioLanguage": "en-US",

        "message": "We are connecting to agent. please hold on."

      }

    },

    "specialAnnouncement": {

      "mode": "text",

      "audioVoice": "2",

      "audioId": "",

      "audioLanguage": "en-US",

      "message": "Custom announcement"

    },

    "queueExit": {

      "mode": "text",

      "audioVoice": "2",

      "audioId": "",

      "audioLanguage": "en-US",

      "message": "Queue Breakout"

    }

  }

}

 

 

Response

SUCCESS

{

"code":"200",

"qapId":"2069000002486011",

"status":"SUCCESS"

}

 

FAILURE

{

   "code": "<App Error Code>",

   "message": "<Error Message>",

   "status": "ERROR"

}

 

 

Update Queue Audio profile

Use this API to update a queue.

  PUT     https://voice.zoho.com/rest/json/zv/api/groups

 

Scope: zohovoice.queues.UPDATE

 

Parameters

 

Param Name

DataType

Description

data *

JSONObject

queue data as json.

name keys is mandatory.

JSON Schema:

{

  "name": "US Support - Main ",

"qapId":"2069000002486011",

  "queueAudioConfig": {

    "announcementInterval": "70",

    "welcomeAnnouncement": {

      "mode": "text",

      "audioVoice": "2",

      "audioId": "",

      "audioLanguage": "en-US",

      "message": "Welcome greeting"

    },

    "positionAnnouncement": {

      "offline": {

        "mode": "text",

        "audioVoice": "2",

        "audioId": "",

        "audioLanguage": "en-US",

        "message": "Agents are offline now."

      },

      "busy": {

        "mode": "text",

        "audioVoice": "2",

        "audioId": "",

        "audioLanguage": "en-US",

        "message": "Agents are busy now"

      },

      "waiting": {

        "mode": "text",

        "audioVoice": "2",

        "audioId": "",

        "audioLanguage": "en-US",

        "message": "We are connecting to agent. please hold on."

      }

    },

    "specialAnnouncement": {

      "mode": "text",

      "audioVoice": "2",

      "audioId": "",

      "audioLanguage": "en-US",

      "message": "Custom announcement"

    },

    "queueExit": {

      "mode": "text",

      "audioVoice": "2",

      "audioId": "",

      "audioLanguage": "en-US",

      "message": "Queue Breakout"

    }

  }

}

 

 

Response

SUCCESS

{

   "code":"200",

   "qapId":4061000001205001,

   "status": "SUCCESS"

}

 

FAILURE

{

   "code": "<App Error Code>",

   "message": "<Error Message>",

   "status": "ERROR"

}

 

Delete Queue Audio profile

Use this API to delete queues.

  DELETE     https://voice.zoho.com/rest/json/zv/api/queueaudioprofile

 

Scope: zohovoice.queues.DELETE

 

Parameters:

 

Param Name

DataType

Description

qapIds *

String

Comma-separated unique ID

 

Response

SUCCESS

{

    "queueAudioProfiles": [

        {

            "name": "US Support",

            "id": "2069000002486011",

            "status": "SUCCESS"

        }

    ],

    "code": "200",

    "status": "SUCCESS"

}


FAILURE

{

   "code": "<App Error Code>",

   "message": "<Error Message>",

   "status": "ERROR"

}

 

 

Get All QueueAudioProfile

Use this API to get contact statuses.

  GET     https://voice.zoho.com/rest/json/zv/api/queueaudioprofile?searchText=&from=0&offset=50

 

Scope: zohovoice.queues.READ

 

Response

SUCCESS

{

    "queueAudioProfiles": [

        {

            "updatedTime": 1737957929919,

            "updatedBy": "sales@zoho.com",

            "name": "US Support - Main ",

            "id": "2069000002486021"

        }

    ],

    "code": "200",

    "status": "SUCCESS"

}

 

FAILURE

{

    "code": "<App Error Code>",

    "message": "<Error Message>",

    "status": "ERROR"

}

 

 

Get Single QueueAudioProfile

Use this API to get contact statuses.

  GET     https://voice.zoho.com/rest/json/zv/api/queueaudioprofile/2069000002486021

 

Scope: zohovoice.queues.READ

 

Response

SUCCESS

{

"code": "200",

"queueAudioProfile": {

"updatedTime": 1737957929919,

"queueAudioConfig": {

   "welcomeAnnouncement": {

      "mode": "text",

      "audioVoice": "2",

      "audioId": "",

      "audioLanguage": "en-US",

      "message": ""

     },

  "positionAnnouncement":{

     "offline": {

         "mode": "text",

         "audioVoice": "2",

         "audioId": "",

         "audioLanguage": "en-US",

         "message": ""

        },

   "waiting": {

       "mode": "text",

       "audioVoice": "2",

       "audioId": "",

       "audioLanguage": "en-US",

       "message": ""

        },

   "busy": {

        "mode": "text",

        "audioVoice": "2",

        "audioId": "",

        "audioLanguage": "en-US",

        "message": ""

        }

     },

  "queueExit": {

      "mode": "text",

      "audioVoice": "2",

      "audioId": "",

      "audioLanguage": "en-US",

      "message": ""

    },

"announcementInterval": "70",

"specialAnnouncement": {

    "mode": "text",

    "audioVoice": "2",

    "audioId": "",

    "audioLanguage": "en-US",

    "message": ""

     }

   },

"updatedBy": "sales@zoho.com",

"name": "US Support - Main ",

"id": "2069000002486021"

},

"status": "SUCCESS"

}


FAILURE

{

    "code": "<App Error Code>",

    "message": "<Error Message>",

    "status": "ERROR"

}

 

 


        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            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







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG

                                  Zoho FSM Video Tutorials


                                        All-in-one knowledge management and training platform for your employees and customers.

                                                  Create. Review. Publish.

                                                  Write, edit, collaborate on, and publish documents to different content management platforms.

                                                  Get Started Now




                                                                    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


                                                                          • Desk Community Learning Series


                                                                          • Digest


                                                                          • Functions


                                                                          • Meetups


                                                                          • Kbase


                                                                          • Resources


                                                                          • Glossary


                                                                          • Desk Marketplace


                                                                          • MVP Corner


                                                                          • Word of the Day


                                                                          • Ask the Experts


                                                                            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 Demo

                                                                                                              Get a personalized demo or POC

                                                                                                              REGISTER NOW


                                                                                                                Design. Discuss. Deliver.

                                                                                                                Create visually engaging stories with Zoho Show.

                                                                                                                Get Started Now








                                                                                                                                    • Related Articles

                                                                                                                                    • Agent Status Metrics API

                                                                                                                                      ZohoVoice REST API Authorization HeaderKey Description Authorization * Zoho-oauthtoken<space><ACCESS_TOKEN> Accept * Set to application/json. OAuth Doc GET AGENT'S ONLINE STATUS AUDIT This API fetches the status details of an agent during a given ...
                                                                                                                                    • User Guide for using Voice REST API via Google Sheet API Connector

                                                                                                                                      This document provides a step-by-step guide on how to use the Voice REST API through the Google Sheet API Connector to populate voice data into a Google Sheet. Follow the instructions carefully to ensure successful integration. Prerequisites Access ...
                                                                                                                                    • Contacts API

                                                                                                                                      Contact CRUD APIs Authorization HeaderKey Description Authorization * Zoho-oauthtoken<space><ACCESS_TOKEN> Accept * Set to application/json. *All APIs are accessible under zohovoice.contacts.ALL scope. OAuth Doc Create Contact Use this API to create ...
                                                                                                                                    • Zoho Voice SMS REST API

                                                                                                                                      Authorization HeaderKey Description Authorization * Zoho-oauthtoken<space><ACCESS_TOKEN> Accept * Set to application/json. OAuth Doc Send SMS Use this API to send SMS POST https://voice.zoho.com/rest/json/v1/sms/send Scope : ZohoVoice.sms.CREATE ...
                                                                                                                                    • Power Dialer API

                                                                                                                                      Create Power Dialer Use this API to create Power Dialer campaign. POST https://voice.zoho.com/rest/json/zv/api/powerdialer OAuth Scope: ZohoVoice.powerdialer.CREATE Parameters Param Name DataType Description name string campaign name ...
                                                                                                                                      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