---
updatedAt: 2026-04-18T02:05:59.000Z
---

# Update a queue

Updates the configuration of an existing queue. All fields are optional — only the fields included in the request body will be updated.

## Finding Your Customer Subdomain

Your subdomain is found in your Avaya Infinity portal URL and is required for all API calls.

**Example:** If your portal URL is:

```
https://core.avaya1234.ec.avayacloud.com/app/core-config-ui/
```

Your subdomain is: **`avaya1234`**

**To use this API:**

1. **Find your subdomain** from your Infinity portal URL (as shown above)
2. **Get your Bearer token** using the `ADMIN_API_CONSUMER` client credential (see Authentication below)
3. **In the API explorer on the right:**
   * Click on `{customerId}` in the URL field and replace it with your actual subdomain
   * Paste your Bearer token in the Credentials section
   * Enter the `id` of the queue to update and provide only the fields you want to change

## Authentication

This endpoint requires a valid OAuth 2.0 Bearer token. To get started, contact Avaya Support to request a `client_id` and `client_secret` provisioned with the `ADMIN_API_CONSUMER` scope.

Once you have your credentials, [generate an access token](https://developers.avayacloud.com/avaya-infinity/reference/access-token) and include it in the `Authorization: Bearer <token>` header of each request.

## Important Notes

* All fields in the request body are optional. Only fields explicitly provided will be modified — omitted fields retain their existing values.
* Updating the `name` to one already used by another queue returns a `422` with the message `name must be unique`.
* Returns a `404` if no queue exists with the specified ID.

## DOS Protection & Rate Limiting

* This endpoint implements DOS protection and rate limiting.

## Security Implementation Guidelines

* Never expose your `client_secret` or Bearer token to client-side applications.
* Implement proper error handling — avoid surfacing internal error details to end users.


# OpenAPI definition

````json
{
  "openapi": "3.1.1",
  "info": {
    "title": "Queue Management API",
    "description": "The Queue Management API allows for the programmatic creation, retrieval, updating, and deletion of queues. Queues are collections of agents used for routing customer interactions. Organizations that manage large numbers of queues or need to integrate queue configuration into external applications and workflows will find this API useful as an alternative to manual administration through the Infinity portal.\n\n## Endpoints\n\n### Create a Queue\n`POST /queues`\nCreate a new queue with a specified name and configuration.\n\n### List Queues\n`GET /queues`\nRetrieve a paginated list of queues, with optional filters for name, status, folder, and type.\n\n### Get a Queue\n`GET /queues/{id}`\nRetrieve full configuration details for a specific queue by its ID.\n\n### Update a Queue\n`PUT /queues/{id}`\nUpdate the configuration of an existing queue. All fields are optional — only provided fields are updated.\n\n### Delete a Queue\n`DELETE /queues/{id}`\nPermanently or soft-delete a queue by its ID.\n\n## Getting Started\n\n### Find Your Customer Subdomain\n\nYour subdomain is found in your Avaya Infinity portal URL and is required for all API calls.\n\n**Example:** If your portal URL is:\n\n```\nhttps://core.avaya1234.ec.avayacloud.com/app/core-config-ui/\n```\n\nYour subdomain is: **`avaya1234`**\n\nAll API requests use this base URL format:\n\n```\nhttps://core.{customerId}.ec.avayacloud.com/api/config/v1/...\n```\n\n### Authentication\n\nThis API requires a valid OAuth 2.0 Bearer token. To get started, contact Avaya Support to request a `client_id` and `client_secret` provisioned with the **`ADMIN_API_CONSUMER`** scope.\n\nOnce you have your credentials, [generate an access token](https://developers.avayacloud.com/avaya-infinity/reference/access-token) and include it in the `Authorization: Bearer <token>` header of each request.\n\n```\nPOST https://core.avaya1234.ec.avayacloud.com/auth/realms/avaya/protocol/openid-connect/token\nContent-Type: application/x-www-form-urlencoded\n\ngrant_type=client_credentials&client_id=<your_client_id>&client_secret=<your_client_secret>&scope=ADMIN_API_CONSUMER\n```\n\n### Working with Queue IDs\n\nQueue IDs are system-generated unique identifiers assigned when a queue is created. They are distinct from the queue's display name and follow the format `003xxxxxxxxxxxxxxxxxxxxxxx`.\n\nQueue IDs can be found:\n- In the response body of a `POST /queues` or `GET /queues` request\n- In the Avaya Infinity portal URL when viewing a queue's configuration\n\n### Important Notes\n\n* Queue names must be unique within your organization. Submitting a duplicate name returns a `422` error.\n* The `name` filter on `GET /queues` performs a prefix/contains match, not an exact match.\n* Soft-deleted queues are excluded from standard list and search results but remain recoverable.\n* Fields marked as pending engineering confirmation (`isQPerformance`, `eliteSkillAddress`, `keyLinkedIdPath`, `sttPlan`, `configDetails`, `workflows`, `customDataDisplay`) should be treated as advanced configuration — contact Avaya Developer Support before use.\n",
    "version": "0.0.1",
    "contact": {
      "name": "Avaya Developer Support",
      "url": "https://developers.avayacloud.com/avaya-infinity/"
    },
    "license": {
      "name": "Avaya Software Development Kit (SDK) Software License Terms",
      "url": "https://support.avaya.com/css/P8/documents/101038288"
    }
  },
  "servers": [
    {
      "url": "https://core.{customerId}.ec.avayacloud.com/api/config/v1",
      "description": "Production",
      "variables": {
        "customerId": {
          "description": "Your organization subdomain identifier (e.g., avaya1234)",
          "default": "avaya1234"
        }
      }
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Queues",
      "description": "Queue lifecycle management — create, retrieve, update, and delete queues."
    }
  ],
  "paths": {
    "/queues/{id}": {
      "put": {
        "summary": "Update a queue",
        "operationId": "updateQueue",
        "tags": [
          "Queues"
        ],
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "description": "Updates the configuration of an existing queue. All fields are optional — only the fields included in the request body will be updated.\n\n## Finding Your Customer Subdomain\n\nYour subdomain is found in your Avaya Infinity portal URL and is required for all API calls.\n\n**Example:** If your portal URL is:\n\n```\nhttps://core.avaya1234.ec.avayacloud.com/app/core-config-ui/\n```\n\nYour subdomain is: **`avaya1234`**\n\n**To use this API:**\n\n1. **Find your subdomain** from your Infinity portal URL (as shown above)\n2. **Get your Bearer token** using the `ADMIN_API_CONSUMER` client credential (see Authentication below)\n3. **In the API explorer on the right:**\n   * Click on `{customerId}` in the URL field and replace it with your actual subdomain\n   * Paste your Bearer token in the Credentials section\n   * Enter the `id` of the queue to update and provide only the fields you want to change\n\n## Authentication\n\nThis endpoint requires a valid OAuth 2.0 Bearer token. To get started, contact Avaya Support to request a `client_id` and `client_secret` provisioned with the `ADMIN_API_CONSUMER` scope.\n\nOnce you have your credentials, [generate an access token](https://developers.avayacloud.com/avaya-infinity/reference/access-token) and include it in the `Authorization: Bearer <token>` header of each request.\n\n## Important Notes\n\n* All fields in the request body are optional. Only fields explicitly provided will be modified — omitted fields retain their existing values.\n* Updating the `name` to one already used by another queue returns a `422` with the message `name must be unique`.\n* Returns a `404` if no queue exists with the specified ID.\n\n## DOS Protection & Rate Limiting\n\n* This endpoint implements DOS protection and rate limiting.\n\n## Security Implementation Guidelines\n\n* Never expose your `client_secret` or Bearer token to client-side applications.\n* Implement proper error handling — avoid surfacing internal error details to end users.\n",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/QueueId"
            },
            "description": "The unique identifier of the queue to update."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateQueueBody"
              },
              "examples": {
                "renameQueue": {
                  "summary": "Rename a queue",
                  "value": {
                    "name": "Support Queue - Tier 2"
                  }
                },
                "updateRouting": {
                  "summary": "Update routing method and weight",
                  "value": {
                    "queueWeight": 10,
                    "routingMethod": "ringAll"
                  }
                },
                "deactivate": {
                  "summary": "Deactivate a queue",
                  "value": {
                    "isActive": false
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Queue updated successfully. Returns the full updated queue object.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntity"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "OAuth 2.0 Bearer Token authentication using the client credentials flow.\n\nTo get started, contact Avaya Support to request a `client_id` and `client_secret` provisioned with the `ADMIN_API_CONSUMER` scope.\n\nOnce you have your credentials, [generate an access token](https://developers.avayacloud.com/avaya-infinity/reference/access-token) and include it as: `Authorization: Bearer <access_token>`\n"
      }
    },
    "schemas": {
      "FolderId": {
        "type": "string",
        "description": "The unique identifier of a folder.",
        "minLength": 26,
        "maxLength": 26,
        "pattern": "^073[0-9a-f]{23}$",
        "example": "073d010813b941cf7da111d147"
      },
      "QueueId": {
        "type": "string",
        "description": "The unique identifier of a queue.",
        "minLength": 23,
        "maxLength": 26,
        "pattern": "^003[0-9a-f]{20,23}$",
        "example": "003d010826307dd6630992437c"
      },
      "AgentAssistEnabled": {
        "type": "boolean",
        "default": false,
        "description": "When `true`, enables Agent Assist for this queue."
      },
      "AgentAssistProfileId": {
        "type": [
          "string",
          "null"
        ],
        "format": "uuid",
        "description": "UUID of the AI Media Gateway Profile to use as the Agent Assist provider. Optional."
      },
      "AgentAssistWorkflowId": {
        "type": [
          "string",
          "null"
        ],
        "maxLength": 64,
        "description": "Optional workflow ID for custom Agent Assist event processing."
      },
      "PostCallModalEnabled": {
        "type": [
          "boolean",
          "null"
        ],
        "description": "When `true`, displays a post-call modal to agents after a call ends."
      },
      "PostCallModalVoiceCallbackEnabled": {
        "type": "boolean",
        "default": false,
        "description": "When `true`, the voice callback option is shown in the post-call modal."
      },
      "PostCallModalMessagingEnabled": {
        "type": "boolean",
        "default": false,
        "description": "When `true`, the messaging option is shown in the post-call modal."
      },
      "PostCallModalEmailEnabled": {
        "type": "boolean",
        "default": false,
        "description": "When `true`, the email option is shown in the post-call modal."
      },
      "PostCallModalCloseResolvedEnabled": {
        "type": "boolean",
        "default": false,
        "description": "When `true`, the close-as-resolved option is shown in the post-call modal."
      },
      "PostCallModalTimeout": {
        "type": "integer",
        "minimum": 5,
        "maximum": 300,
        "default": 10,
        "description": "Time in seconds before the post-call modal auto-dismisses. Must be between 5 and 300. Defaults to 10."
      },
      "PostCallModalDefault": {
        "type": "string",
        "enum": [
          "closeResolved",
          "email",
          "voiceCallback",
          "messaging"
        ],
        "default": "closeResolved",
        "description": "The default action pre-selected in the post-call modal. `closeResolved` marks the interaction resolved, `email` opens an email follow-up, `voiceCallback` schedules a callback, `messaging` opens a messaging follow-up."
      },
      "EnableWrapUp": {
        "type": [
          "boolean",
          "null"
        ],
        "description": "When `true`, wrap-up is required before an agent can close a resolved interaction. When `null`, the queue uses the default behavior."
      },
      "QueueBase": {
        "type": "object",
        "description": "Base schema for queue configuration.",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 50,
            "description": "The display name of the queue. Must be unique within your organization."
          },
          "folderId": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FolderId"
              },
              {
                "type": "null"
              }
            ],
            "description": "The ID of the folder to assign this queue to. Optional."
          },
          "configDetails": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Advanced queue configuration. Contact Avaya Developer Support before use."
          },
          "extension": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d+$",
            "description": "Queue extension number. Must contain only digits."
          },
          "timeZone": {
            "type": [
              "string",
              "null"
            ],
            "default": "UTC",
            "description": "Timezone for the queue. Defaults to UTC."
          },
          "templates": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Template configuration for the queue."
          },
          "actions": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Action mappings for the queue."
          },
          "scoreCardId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the scorecard associated with this queue. Must be provided together with `scoreCardVersionId`."
          },
          "scoreCardVersionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Version ID of the scorecard. Must be provided together with `scoreCardId`."
          },
          "queueWeight": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "description": "Weight used for queue prioritization. Higher values indicate higher priority."
          },
          "routingMethod": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "leastRecent",
              "ringAll",
              "random"
            ],
            "description": "Method used to route interactions to agents. `leastRecent` routes to the agent who has been idle longest, `ringAll` rings all available agents simultaneously, `random` selects an agent at random."
          },
          "tagRoutable": {
            "type": "boolean",
            "default": true,
            "description": "When `true`, enables tag-based routing for this queue."
          },
          "workflows": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Workflow automation settings. Contact Avaya Developer Support before use."
          },
          "reports": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Reporting configuration for the queue."
          },
          "isActive": {
            "type": "boolean",
            "default": true,
            "description": "Whether the queue is active and available for routing. Set to `false` to deactivate without deleting."
          },
          "isQPerformance": {
            "type": "boolean",
            "default": false,
            "description": "Performance metric flag. Contact Avaya Developer Support before use."
          },
          "extXferCidUserModify": {
            "type": "boolean",
            "default": false,
            "description": "When `true`, agents can modify the outbound caller ID for external transfers."
          },
          "extXferCidType": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "customer",
              "queue",
              "custom"
            ],
            "default": "customer",
            "description": "Determines the caller ID presented on external transfers. `customer` uses the customer's number, `queue` uses the queue's number, `custom` uses the number specified in `extXferCidNumber`."
          },
          "extXferCidNumber": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\\\+[1-9]\\\\d{1,14}$",
            "description": "Custom caller ID number for external transfers in E.164 format (e.g., `+15551234567`). Only used when `extXferCidType` is `custom`."
          },
          "tagsToAdd": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Tags to associate with this queue."
          },
          "tagsToRemove": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Tags to remove from this queue."
          },
          "validateNumberCountry": {
            "type": [
              "string",
              "null"
            ],
            "default": "US",
            "description": "Default country code used for phone number validation (e.g., `US`, `GB`)."
          },
          "validateCustomerPhoneNumber": {
            "type": "boolean",
            "default": false,
            "description": "When `true`, validates the customer's phone number against the country specified in `validateNumberCountry`."
          },
          "keyLinkedIdPath": {
            "type": [
              "string",
              "null"
            ],
            "description": "Path key for linked interactions. Contact Avaya Developer Support before use."
          },
          "sttPlan": {
            "type": [
              "string",
              "null"
            ],
            "description": "Speech-to-text plan ID. Contact Avaya Developer Support before use."
          },
          "allowPhoneCommTypeClosedUnresolved": {
            "type": "boolean",
            "description": "When `true`, allows phone interactions to be closed with an unresolved status."
          },
          "defaultCloseValue": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "resolved",
              "unresolved"
            ],
            "description": "The default close status applied when an interaction is completed."
          },
          "requireCloseResolvedConfirmation": {
            "type": "boolean",
            "description": "When `true`, agents must confirm before marking an interaction as resolved."
          },
          "promoteViewerToOwnerOnAgentLeave": {
            "type": "boolean",
            "description": "When `true`, automatically promotes a viewer to owner if the current owner leaves the interaction."
          },
          "allowOwnerToSetViewerAsOwner": {
            "type": "boolean",
            "description": "When `true`, the current owner can transfer ownership to a viewer."
          },
          "doNotMoveToCompletedOnHangup": {
            "type": "boolean",
            "description": "When `true`, interactions are not automatically moved to completed status when the call ends."
          },
          "allowOwnerMuteViewer": {
            "type": "boolean",
            "description": "When `true`, the owner can mute viewers in the interaction."
          },
          "allowOwnerRemoveViewer": {
            "type": "boolean",
            "description": "When `true`, the owner can remove viewers from the interaction."
          },
          "allowOwnerInvite": {
            "type": "boolean",
            "description": "When `true`, the owner can invite internal participants to the interaction."
          },
          "allowOwnerInviteExternal": {
            "type": "boolean",
            "description": "When `true`, the owner can invite external participants to the interaction."
          },
          "eliteSkillAddress": {
            "type": [
              "string",
              "null"
            ],
            "description": "Elite skill routing address. Contact Avaya Developer Support before use."
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Custom type classification for the queue (e.g., `regular`, `personal`)."
          },
          "lastUpdatedBy": {
            "type": [
              "string",
              "null"
            ],
            "description": "Identifier of the user or system that last updated the queue. Read-only."
          },
          "customDataDisplay": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Custom data fields displayed in the queue UI. Contact Avaya Developer Support before use."
          },
          "agentAssistEnabled": {
            "$ref": "#/components/schemas/AgentAssistEnabled"
          },
          "agentAssistProfileId": {
            "$ref": "#/components/schemas/AgentAssistProfileId"
          },
          "agentAssistWorkflowId": {
            "$ref": "#/components/schemas/AgentAssistWorkflowId"
          },
          "postCallModalEnabled": {
            "$ref": "#/components/schemas/PostCallModalEnabled"
          },
          "postCallModalVoiceCallbackEnabled": {
            "$ref": "#/components/schemas/PostCallModalVoiceCallbackEnabled"
          },
          "postCallModalMessagingEnabled": {
            "$ref": "#/components/schemas/PostCallModalMessagingEnabled"
          },
          "postCallModalEmailEnabled": {
            "$ref": "#/components/schemas/PostCallModalEmailEnabled"
          },
          "postCallModalCloseResolvedEnabled": {
            "$ref": "#/components/schemas/PostCallModalCloseResolvedEnabled"
          },
          "postCallModalTimeout": {
            "$ref": "#/components/schemas/PostCallModalTimeout"
          },
          "postCallModalDefault": {
            "$ref": "#/components/schemas/PostCallModalDefault"
          },
          "enableWrapUp": {
            "$ref": "#/components/schemas/EnableWrapUp"
          }
        }
      },
      "UpdateQueueBody": {
        "allOf": [
          {
            "$ref": "#/components/schemas/QueueBase"
          },
          {
            "type": "object",
            "description": "Request body for updating an existing queue. All fields are optional — only provided fields will be updated."
          }
        ]
      },
      "QueueResponse": {
        "type": "object",
        "required": [
          "queueId",
          "name",
          "isActive"
        ],
        "description": "Full queue object returned by create, get, and update operations.",
        "properties": {
          "queueId": {
            "$ref": "#/components/schemas/QueueId"
          },
          "accountId": {
            "type": "string",
            "description": "The account/tenant identifier this queue belongs to."
          },
          "createdOn": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp (ISO 8601) when the queue was created."
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp (ISO 8601) when the queue was last updated."
          },
          "name": {
            "type": "string",
            "description": "The display name of the queue."
          },
          "folderId": {
            "$ref": "#/components/schemas/FolderId"
          },
          "configDetails": {
            "type": "object",
            "additionalProperties": true
          },
          "extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "timeZone": {
            "type": "string"
          },
          "templates": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          },
          "scoreCardId": {
            "type": [
              "string",
              "null"
            ]
          },
          "scoreCardVersionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "queueWeight": {
            "type": "integer"
          },
          "routingMethod": {
            "type": "string"
          },
          "tagRoutable": {
            "type": "boolean"
          },
          "workflows": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          },
          "isActive": {
            "type": "boolean"
          },
          "isQPerformance": {
            "type": "boolean"
          },
          "externalTransferUserModify": {
            "type": "boolean"
          },
          "externalTransferCallerIdType": {
            "type": "string"
          },
          "externalTransferCallerIdNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "tagsToAdd": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          },
          "tagsToRemove": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          },
          "validateNumberCountry": {
            "type": "string"
          },
          "validateCustomerPhoneNumber": {
            "type": "boolean"
          },
          "keyLinkedIdPath": {
            "type": [
              "string",
              "null"
            ]
          },
          "sttPlan": {
            "type": [
              "string",
              "null"
            ]
          },
          "allowPhoneCommTypeClosedUnresolved": {
            "type": "boolean"
          },
          "defaultCloseValue": {
            "type": "string"
          },
          "requireCloseResolvedConfirmation": {
            "type": "boolean"
          },
          "promoteViewerToOwnerOnAgentLeave": {
            "type": "boolean"
          },
          "allowOwnerToSetViewerAsOwner": {
            "type": "boolean"
          },
          "doNotMoveToCompletedOnHangup": {
            "type": "boolean"
          },
          "allowOwnerMuteViewer": {
            "type": "boolean"
          },
          "allowOwnerRemoveViewer": {
            "type": "boolean"
          },
          "allowOwnerInvite": {
            "type": "boolean"
          },
          "allowOwnerInviteExternal": {
            "type": "boolean"
          },
          "eliteSkillAddress": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastUpdatedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "customDataDisplay": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          },
          "agentAssistEnabled": {
            "$ref": "#/components/schemas/AgentAssistEnabled"
          },
          "agentAssistProfileId": {
            "$ref": "#/components/schemas/AgentAssistProfileId"
          },
          "agentAssistWorkflowId": {
            "$ref": "#/components/schemas/AgentAssistWorkflowId"
          },
          "postCallModalEnabled": {
            "$ref": "#/components/schemas/PostCallModalEnabled"
          },
          "postCallModalVoiceCallbackEnabled": {
            "$ref": "#/components/schemas/PostCallModalVoiceCallbackEnabled"
          },
          "postCallModalMessagingEnabled": {
            "$ref": "#/components/schemas/PostCallModalMessagingEnabled"
          },
          "postCallModalEmailEnabled": {
            "$ref": "#/components/schemas/PostCallModalEmailEnabled"
          },
          "postCallModalCloseResolvedEnabled": {
            "$ref": "#/components/schemas/PostCallModalCloseResolvedEnabled"
          },
          "postCallModalTimeout": {
            "$ref": "#/components/schemas/PostCallModalTimeout"
          },
          "postCallModalDefault": {
            "$ref": "#/components/schemas/PostCallModalDefault"
          },
          "enableWrapUp": {
            "$ref": "#/components/schemas/EnableWrapUp"
          }
        }
      },
      "Problem": {
        "type": "object",
        "description": "Problem detail as defined by RFC 7807 — a standard way to carry machine-readable error details in HTTP responses.\n",
        "properties": {
          "type": {
            "type": "string",
            "format": "uri",
            "description": "A URI identifying the problem type.",
            "default": "about:blank",
            "example": "about:blank"
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "description": "A short, human-readable summary of the problem type.",
            "example": "Service Unavailable"
          },
          "status": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "The HTTP status code for this occurrence of the problem.",
            "minimum": 100,
            "maximum": 600,
            "exclusiveMaximum": true,
            "example": 503
          },
          "detail": {
            "type": [
              "string",
              "null"
            ],
            "description": "A human-readable explanation specific to this occurrence of the problem.",
            "example": "Connection to database timed out"
          },
          "instance": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "A URI identifying the specific occurrence of the problem."
          },
          "violations": {
            "type": [
              "array",
              "null"
            ],
            "description": "A list of field-level validation violations, present on 400 and 422 responses.",
            "items": {
              "type": "object",
              "properties": {
                "field": {
                  "type": "string",
                  "description": "The name of the field that caused the violation.",
                  "example": "name"
                },
                "message": {
                  "type": "string",
                  "description": "A human-readable explanation of the violation.",
                  "example": "Queue name is required"
                },
                "code": {
                  "type": "integer",
                  "format": "int32",
                  "description": "A stable violation code. Use this in error handling logic — the message text may change.",
                  "example": 20001
                }
              }
            }
          }
        }
      }
    },
    "responses": {
      "BadRequest": {
        "description": "Bad Request - Validation error",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorBadRequest"
              }
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized - Authentication required",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorUnauthorized"
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden - Insufficient permissions",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorForbidden"
              }
            }
          }
        }
      },
      "NotFound": {
        "description": "Resource not found",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorNotFound"
              }
            }
          }
        }
      },
      "UnprocessableEntity": {
        "description": "Unprocessable Entity - Semantic error",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorUnprocessableEntity"
              },
              "duplicateName": {
                "$ref": "#/components/examples/ErrorUnprocessableEntityDuplicateName"
              }
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal Server Error",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorInternalServerError"
              }
            }
          }
        }
      }
    },
    "examples": {
      "ErrorBadRequest": {
        "description": "Bad Request - Validation error",
        "value": {
          "type": "about:blank",
          "title": "Constraint Violation",
          "status": 400,
          "detail": "A problem that indicates a syntactically correct, yet semantically illegal request. The Server can not process this request until the client resolves the semantic errors described in the violations section.",
          "violations": [
            {
              "field": "name",
              "message": "Queue name is required",
              "code": 20001
            }
          ]
        }
      },
      "ErrorUnauthorized": {
        "description": "Unauthorized",
        "value": {
          "type": "about:blank",
          "title": "Unauthorized",
          "status": 401,
          "detail": "This operation requires authentication."
        }
      },
      "ErrorForbidden": {
        "description": "Forbidden",
        "value": {
          "type": "about:blank",
          "title": "Forbidden",
          "status": 403,
          "detail": "According to the access control policy the current user and/or accountId does not have permission to access this resource."
        }
      },
      "ErrorNotFound": {
        "description": "Not Found",
        "value": {
          "type": "about:blank",
          "title": "Resource Not Found",
          "status": 404,
          "detail": "Queue with the specified ID was not found.",
          "instance": "/api/config/v1/queues/003d010826307dd6630992437c"
        }
      },
      "ErrorUnprocessableEntity": {
        "description": "Validation failed",
        "value": {
          "type": "about:blank",
          "title": "Validation failed",
          "status": 422,
          "detail": "A problem that indicates a syntactically correct, yet semantically illegal request. The Server can not process this request until the client resolves the semantic errors described in the violations section.",
          "violations": [
            {
              "field": "scoreCardId",
              "message": "Both scoreCardId and scoreCardVersionId must be provided together",
              "code": 20002
            }
          ]
        }
      },
      "ErrorUnprocessableEntityDuplicateName": {
        "description": "Duplicate queue name",
        "value": {
          "type": "about:blank",
          "title": "Validation failed",
          "status": 422,
          "detail": "A problem that indicates a syntactically correct, yet semantically illegal request.",
          "violations": [
            {
              "field": "name",
              "message": "name must be unique",
              "code": 20003
            }
          ]
        }
      },
      "ErrorInternalServerError": {
        "description": "Server Error",
        "value": {
          "type": "about:blank",
          "title": "Server Error",
          "status": 500,
          "detail": "An internal server error was encountered."
        }
      }
    }
  }
}
````