Represents the extension number. Maximum four digits allowed.
PUT - Update a queue
Purpose
Use this API to update a queue.
Authorization
| HeaderKey | Description |
| Authorization* | Zoho-oauthtoken<space><ACCESS_TOKEN> |
| Accept* | Set to application/json. |
Scope
*All APIs are accessible under zohovoice.queues.ALL scope.
Request URL
Method: PUT
| https://voice.zoho.com/rest/json/zv/api/groups |
Scope: zohovoice.queues.UPDATE
Param Name | Data Type | Description |
data * | JSONObject | Represents the queue data in JSON format. The name, members, isBulk, config, groupid keys are mandatory.
Example: { |
agentChanged | Boolean | Represents whether the order of values in the members list has changed. Set to true if the order is updated. |
Data JSON:
Key | Data Type | Description |
members* | JSONArray of Long | Represents the list of agent IDs. Example: [AGENT_ID1, AGENT_ID2] |
extension | Integer | |
emailNotificationConfig | Integer | Represents the email notification configuration.
Possible values:
|
name* | String | Represents the name of the queue |
emailId | String | Represents the email ID that receives queue missed call notifications. |
queueWaitMusic | JSONObject | Represents the queue wait music configuration.
Example: { "audioId": "", "enableDefaultAnnouncements": true } |
qapId | Long | Represents the queue audio profile ID. |
isBulk* | Boolean | Represents whether agents are added in bulk. Default value is false. |
config* | JSONObject | Represents the queue configuration.
Example: {
|
autocallBack | JSONObject | Represents the callback request configuration.
Example: { |
groupid | Long | Represents the unique ID of the queue. |
Sample Request
Copiedcurl "https://voice.zoho.com/rest/json/zv/api/groups" \
-X PUT \
-H "Authorization:Zoho-oauthtoken *****"Sample Response - Success
Copied{
"code":"200",
"groupId":4061000001205001,
"status": "SUCCESS"
}Sample Response - Error
Copied{
"code": "<App Error Code>",
"message": "<Error Message>",
"status": "ERROR"
}