---
updatedAt: 2026-02-10T12:00:44.000Z
---

# List Users

**This API requires the Account Administrator role.**

Lists all of the users for an account.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "x-explorer-enabled": false,
  "x-samples-languages": [
    "curl",
    "node",
    "java",
    "javascript",
    "python",
    "go"
  ],
  "info": {
    "title": "Admin - User",
    "description": "The User APIs are use to create, update and retrieve information about User and Profiles.\n\nThe Bulk User APIs are use to perform operations on users and jobs in bulk.\nUser Services support add, update, delete users in bulk and delete multiple jobs.\n\nUser Services will support multiple ways to provision Users/Agents\n  1. Programmatic Interface (Rest APIs)\n  2. User Interface\n",
    "contact": {
      "name": "Avaya API Team",
      "url": "https://developers.avayacloud.com/onecloud-ccaas",
      "email": "apiteam@avaya.com"
    },
    "license": {
      "name": "Avaya Software Development Kit (SDK) Software License Terms",
      "url": "http://support.avaya.com/css/P8/documents/101038288"
    },
    "version": "1.0.2"
  },
  "security": [
    {},
    {
      "BearerAuth": [],
      "AppKey": []
    }
  ],
  "servers": [
    {
      "url": "{protocol}://{server}:{port}{basePath}",
      "description": "Open API",
      "variables": {
        "protocol": {
          "enum": [
            "https"
          ],
          "default": "https"
        },
        "server": {
          "default": "HOST-REGION.api.avayacloud.com"
        },
        "port": {
          "enum": [
            "443"
          ],
          "default": "443"
        },
        "basePath": {
          "default": "/api/admin/user/v1"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "User",
      "description": "Represents a user in the system. A user can be an Agent, Supervisor or an Administrator.\n"
    }
  ],
  "paths": {
    "/accounts/{accountId}/users": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "List Users",
        "description": "**This API requires the Account Administrator role.**\n\nLists all of the users for an account.\n",
        "operationId": "listUsers",
        "parameters": [
          {
            "$ref": "#/components/parameters/accountId"
          },
          {
            "$ref": "#/components/parameters/pageNumber"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "The max number of records to retrieve per page. Default value is 10.\n",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "example": 5,
              "default": 10,
              "minimum": 5,
              "maximum": 50
            }
          },
          {
            "name": "filter",
            "in": "query",
            "required": false,
            "description": "Specifies details of a row filter.\n\n The possible fields that can be filtered on are:\n  * loginId\n  * lastName\n  * firstName\n  * emailId\n  * organizationNodeId\n  * profileId\n\nThe allowed format:\n  - Begins with the column name to be filtered, followed by a colon, then:\n    - Either an exact string to match, or\n    - A string expression including the * wildcard character\n      - :{PREFIX}* will be used to find out word start with.\n      - :*{POSTFIX} will be used to find out word end with\n      - : will be used to match exact word\n  - Begin with column name to be filtered, followed by a = operator. (this will be used to match exact string)\n",
            "schema": {
              "type": "string",
              "maxLength": 255
            },
            "examples": {
              "exact": {
                "description": "Example of filtering based on an exact string.",
                "value": "lastName=Stevens"
              },
              "prefix": {
                "description": "Example of filtering based on a prefix string.",
                "value": "lastName:Stevens*"
              },
              "postfix": {
                "description": "Example of filtering based on a postfix string.",
                "value": "lastName:*Stevens"
              }
            }
          },
          {
            "name": "orderBy",
            "in": "query",
            "required": false,
            "description": "Field name on which ordering needs to be performed. The default order is ascending.\n\nThe possible fields that can be ordered on are:\n* loginId\n* lastName\n* firstName\n* emailId\n* organizationNodeId\n\nField Names are case-sensitive (should be written as it is in description).\n\nTo specify descending order, a suffix \" desc\" should be added. For example, \"firstName\" for ascending or \"firstName desc\" for descending\".\n",
            "schema": {
              "type": "string",
              "maxLength": 255
            },
            "examples": {
              "ascending": {
                "value": "firstName"
              },
              "descending": {
                "value": "fistName desc"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserPage"
                },
                "examples": {
                  "User-Page": {
                    "$ref": "#/components/examples/UserPage"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ErrorConstraintViolation"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/InternalServer"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This API uses Bearer Token Authorization Flow",
        "bearerFormat": "JWT"
      },
      "AppKey": {
        "type": "apiKey",
        "in": "header",
        "name": "appkey",
        "description": "This API needs an appKey as header"
      }
    },
    "responses": {
      "ErrorConstraintViolation": {
        "description": "Constraint Violation",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorConstraintViolation"
              }
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorUnauthorized"
              }
            }
          }
        }
      },
      "InternalServer": {
        "description": "Request processing failed",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorInternalServerError"
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorForbidden"
              }
            }
          }
        }
      },
      "NotFound": {
        "description": "Not Found",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "default": {
                "$ref": "#/components/examples/ErrorNotFound"
              }
            }
          }
        }
      }
    },
    "schemas": {
      "UserFeatures": {
        "type": "object",
        "description": "Features enabled in user",
        "properties": {
          "matching": {
            "$ref": "#/components/schemas/MatchingUserFeature"
          },
          "chat": {
            "$ref": "#/components/schemas/ChatChannelUserFeature"
          },
          "messaging": {
            "$ref": "#/components/schemas/MessagingChannelUserFeature"
          },
          "email": {
            "$ref": "#/components/schemas/EmailChannelUserFeature"
          },
          "voice": {
            "$ref": "#/components/schemas/CloudSwitchVoiceUserFeature"
          },
          "cmvoice": {
            "$ref": "#/components/schemas/CMVoiceUserFeature"
          },
          "aci": {
            "$ref": "#/components/schemas/UserACIFeature"
          },
          "outbound": {
            "$ref": "#/components/schemas/UserOutboundFeature"
          },
          "recorder": {
            "$ref": "#/components/schemas/UserRecorderFeature"
          },
          "advancedcmvoice": {
            "$ref": "#/components/schemas/AdvancedCMVoiceUserFeature"
          }
        }
      },
      "User": {
        "type": "object",
        "description": "A User can be an Agent, Supervisor or an Administrator.",
        "required": [
          "loginId",
          "lastName",
          "firstName",
          "organizationNodeId"
        ],
        "properties": {
          "organizationNodeId": {
            "type": "string",
            "example": "EXMPLE",
            "minLength": 6,
            "maxLength": 6,
            "pattern": "^[a-zA-Z]{6}$",
            "description": "Unique Id for Account or Node where user get created"
          },
          "userId": {
            "type": "string",
            "example": "c8c2909d-75e9-484a-94c0-b7e8d29771fe",
            "readOnly": true,
            "description": "The unique 36 character internal id (uuid) that represents the user.",
            "minLength": 36,
            "maxLength": 36,
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "loginId": {
            "type": "string",
            "example": "stevens@avaya.com",
            "maxLength": 255,
            "pattern": "^[a-zA-Z\\p{L}0-9+-_.]+(?:\\.[a-zA-Z\\p{L}0-9+-_.]+)*@(?:[a-zA-Z\\p{L}0-9-]+\\.)+[a-zA-Z\\p{L}]{2,63}$",
            "description": "Login Id for User"
          },
          "password": {
            "type": "string",
            "example": "Aghtat2343$",
            "writeOnly": true,
            "pattern": "^(?=.{8,}$)(?=.*?[a-z])(?=.*?[A-Z])(?=.*?[0-9])(?=.*?\\W).*$",
            "maxLength": 255,
            "description": "Login credentials of User"
          },
          "lastName": {
            "type": "string",
            "example": "Stevens",
            "minLength": 2,
            "maxLength": 255,
            "pattern": "^[^<>\\^@#]*$",
            "description": "Last name of User"
          },
          "firstName": {
            "type": "string",
            "example": "Alex",
            "minLength": 2,
            "maxLength": 255,
            "pattern": "^[^<>\\^@#]*$",
            "description": "First name of User"
          },
          "displayName": {
            "type": "string",
            "example": "Stevens, Alex",
            "minLength": 2,
            "maxLength": 510,
            "pattern": "^[^<>\\^@#]*$",
            "description": "Display name of User"
          },
          "emailId": {
            "type": "string",
            "example": "stevens@avaya.com",
            "minLength": 5,
            "maxLength": 255,
            "pattern": "^[a-zA-Z\\p{L}0-9]+[a-zA-Z\\p{L}0-9+\\-_.]+(?:\\.[a-zA-Z\\p{L}0-9+\\-_.]+)*@(?:[a-zA-Z\\p{L}0-9-]+\\.)+[a-zA-Z\\p{L}]{2,63}$",
            "description": "Email Id of User"
          },
          "profileId": {
            "type": "string",
            "example": "FSADSJ",
            "minLength": 6,
            "maxLength": 6,
            "pattern": "^[a-zA-Z0-9\\-\\_\\.\\ ]+$",
            "description": "The unique 6 character internal id that represents the profile."
          },
          "memberOfGroups": {
            "type": "array",
            "description": "List of the groups of which the user is member of.",
            "maxItems": 50,
            "items": {
              "description": "The unique 36 character internal id (uuid) that represents the group.",
              "type": "string",
              "minLength": 36,
              "maxLength": 36,
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
            },
            "example": [
              "c8c2909d-75e9-484a-94c0-b7e8d29771fe"
            ]
          },
          "ownedGroups": {
            "type": "array",
            "description": "List of the groups owned by the user.",
            "maxItems": 50,
            "items": {
              "description": "The unique 36 character internal id (uuid) that represents the group.",
              "type": "string",
              "minLength": 36,
              "maxLength": 36,
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
            },
            "example": [
              "a8b6d39c-53c5-4d94-a640-c28bee987ed7"
            ]
          },
          "roles": {
            "type": "array",
            "maxItems": 11,
            "items": {
              "$ref": "#/components/schemas/Role"
            },
            "description": "\nRoles assigned to user.\n\nSee the list of [Available Roles](https://docs.kaizen.avaya.com/developer-guides/administration/manage-users/#available-roles).\n"
          },
          "resourcePartitions": {
            "type": "array",
            "maxItems": 10,
            "description": "List of the resource partitions assigned to the user",
            "items": {
              "description": "The unique 36 character id (uuid) that represents the resource partition.",
              "type": "string",
              "minLength": 36,
              "maxLength": 36,
              "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
            },
            "example": [
              "a8b6d39c-53c5-4d94-a640-c28bee987ed7",
              "opl6d39c-78ui-4d94-qqqq-c28bee987ed7"
            ]
          },
          "addresses": {
            "type": "array",
            "description": "List of the address added by user",
            "maxItems": 5,
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "accountAddresses": {
            "type": "array",
            "maxItems": 4,
            "description": "List of the account addresses assigned to the user",
            "items": {
              "$ref": "#/components/schemas/AccountAddress"
            }
          },
          "features": {
            "$ref": "#/components/schemas/UserFeatures"
          }
        }
      },
      "UserPage": {
        "description": "Paginated User Data",
        "type": "object",
        "properties": {
          "pagination": {
            "$ref": "#/components/schemas/Pagination"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/User"
            }
          },
          "links": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Links"
              }
            ],
            "example": {
              "prev": "/api/admin/user/v1/accounts/ASDJGE/users?pageNumber=1&pageSize=10",
              "next": "/api/admin/user/v1/accounts/ASDJGE/users?pageNumber=3&pageSize=10"
            }
          }
        }
      },
      "Role": {
        "description": "User Role",
        "type": "string",
        "maxLength": 40,
        "example": "Agent"
      },
      "CommunicationProfileAddress": {
        "description": "Represents association of profile address with user. Communication profile is used to represent a subscription of the user to a communication subsystem and the specific configuration needs for the user. Communication profiles can be CM Endpoint, Session Manager profile.",
        "type": "object",
        "required": [
          "address",
          "type"
        ],
        "properties": {
          "address": {
            "description": "Represents the Communication Addresses based on type of communication",
            "type": "string",
            "minLength": 6,
            "maxLength": 255,
            "pattern": "^[\\+]?[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,63}$",
            "example": "10001@SipDomain.com"
          },
          "type": {
            "description": "Represents type of the Communication Addresses",
            "type": "string",
            "enum": [
              "SIP",
              "E164"
            ],
            "example": "SIP"
          },
          "isDefault": {
            "description": "Represents default Communication Addresses",
            "type": "boolean",
            "default": false,
            "example": false
          }
        }
      },
      "Pagination": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "description": "The current page number.",
            "example": 2
          },
          "pageSize": {
            "type": "integer",
            "description": "The max number of records that can be retrieved on this page.",
            "example": 10
          },
          "total": {
            "type": "integer",
            "description": "The total number of records.",
            "example": 100
          }
        }
      },
      "Links": {
        "type": "object",
        "properties": {
          "prev": {
            "type": "string",
            "default": "",
            "description": "URL of the previous page. Blank if currently on the first page."
          },
          "next": {
            "type": "string",
            "default": "",
            "description": "URL of the next page. Blank if currently on the last page."
          }
        }
      },
      "Problem": {
        "type": "object",
        "description": "<b>Problem Detail</b> as a way to carry machine-readable details of errors in a HTTP response to avoid the need to define new error response formats for HTTP APIs <a href=\"https://tools.ietf.org/html/rfc7807\">RFC 7807</a>\n",
        "properties": {
          "type": {
            "type": "string",
            "format": "uri",
            "description": "An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML).\n",
            "default": "about:blank",
            "example": "https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#constraint-violation"
          },
          "title": {
            "type": "string",
            "description": "A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized).\n",
            "example": "Service Unavailable",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "description": "The HTTP status code generated by the origin server for this occurrence of the problem.\n",
            "minimum": 100,
            "maximum": 600,
            "exclusiveMaximum": true,
            "example": 503,
            "nullable": true
          },
          "detail": {
            "type": "string",
            "description": "A human readable explanation specific to this occurrence of the problem.\n",
            "example": "Connection to database timed out",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "format": "uri",
            "description": "An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.\n",
            "nullable": true
          },
          "violations": {
            "type": "array",
            "description": "A list of violations that occurred as a result of invalid data provided as part of a request.\n",
            "nullable": true,
            "items": {
              "type": "object",
              "properties": {
                "field": {
                  "type": "string",
                  "description": "The name of the field in the request that caused the violation. This can be the name of a path parameter, query parameter, or a field within the request body.\n",
                  "example": "accountId"
                },
                "message": {
                  "type": "string",
                  "description": "A human readable explanation specific to this occurrence of the violation.\n",
                  "example": "must match \"^[a-zA-Z]{6}$\""
                },
                "code": {
                  "type": "integer",
                  "format": "int32",
                  "description": "The violation code generated by the server for this occurrence of the violation. Use this code when implementing any error handling logic instead of the message, as the message can change.\n",
                  "example": 20006
                }
              }
            },
            "example": [
              {
                "field": "emailAddress",
                "message": "must not be null",
                "code": 20002
              },
              {
                "field": "accountId",
                "message": "must match \"^[a-zA-Z]{6}$\"",
                "code": 20006
              }
            ]
          }
        }
      },
      "MatchingUserFeature": {
        "description": "Details of Matching feature assigned to the user.",
        "type": "object",
        "properties": {
          "attributes": {
            "type": "array",
            "maxItems": 50,
            "items": {
              "type": "string",
              "maxLength": 255
            },
            "example": [
              "Language.English",
              "Language.French"
            ],
            "description": "List of attributes assigned to user"
          },
          "queues": {
            "type": "array",
            "maxItems": 50,
            "items": {
              "$ref": "#/components/schemas/AssignedQueue"
            },
            "description": "List of assigned queues to an user",
            "example": [
              {
                "queueId": "620bbb28-7112-433a-af59-17ee0f15a247",
                "proficiency": 10
              },
              {
                "queueId": "07d2c0a3-f05c-47e7-a86e-51148d3d4fd4",
                "proficiency": 6
              }
            ]
          }
        }
      },
      "AssignedQueue": {
        "description": "Details of a queue to be assigned to an agent and its proficiency",
        "type": "object",
        "properties": {
          "queueId": {
            "type": "string",
            "minLength": 36,
            "maxLength": 36,
            "pattern": "^[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}$",
            "description": "The unique 36 character internal id that represents the queue."
          },
          "proficiency": {
            "type": "integer",
            "minimum": 1,
            "maximum": 16,
            "default": 8,
            "description": "Value of proficiency that agent has for this particular queue. The value 1 represents the highest level of proficiency."
          },
          "name": {
            "type": "string",
            "minLength": 3,
            "maxLength": 50,
            "description": "The name of the queue. Name must be unique per account."
          }
        }
      },
      "ChatChannelUserFeature": {
        "description": "Details of Chat Channel feature assigned to the user.",
        "type": "object",
        "properties": {
          "autoAnswer": {
            "type": "boolean",
            "description": "Auto-answer enabled disble for this channel",
            "example": false
          },
          "multiplicity": {
            "type": "integer",
            "format": "int32",
            "minimum": 1,
            "maximum": 10,
            "example": 2,
            "description": "Multiplicity of channels"
          },
          "afterContactWork": {
            "type": "boolean",
            "description": "afterContactWork enable/disable for this channel",
            "example": false
          },
          "afterContactWorkMode": {
            "type": "string",
            "enum": [
              "DEFAULT",
              "DISABLED",
              "MANUAL",
              "TIMED"
            ],
            "description": "The mode used to determine expiry.",
            "example": "TIMED"
          },
          "afterContactWorkTimer": {
            "nullable": true,
            "type": "integer",
            "minimum": 1,
            "maximum": 3600,
            "description": "The ACW timer expiry in terms of the specified units.\n",
            "example": 10
          },
          "afterContactWorkOverrideQueue": {
            "type": "boolean",
            "description": "user afterContactWork overrides queue setting",
            "example": false
          },
          "providers": {
            "readOnly": true,
            "type": "array",
            "maxItems": 10,
            "items": {
              "$ref": "#/components/schemas/Provider"
            }
          }
        }
      },
      "EmailChannelUserFeature": {
        "description": "Details of Email Channel feature assigned to the user.",
        "type": "object",
        "properties": {
          "autoAnswer": {
            "type": "boolean",
            "description": "Auto-answer enabled disble for this channel",
            "example": false
          },
          "multiplicity": {
            "type": "integer",
            "format": "int32",
            "minimum": 1,
            "maximum": 10,
            "example": 2,
            "description": "Multiplicity of channels"
          },
          "afterContactWork": {
            "type": "boolean",
            "description": "afterContactWork enable/disble for this channel",
            "example": false
          },
          "afterContactWorkMode": {
            "type": "string",
            "enum": [
              "DEFAULT",
              "DISABLED",
              "MANUAL",
              "TIMED"
            ],
            "description": "The mode used to determine expiry.",
            "example": "TIMED"
          },
          "afterContactWorkTimer": {
            "nullable": true,
            "type": "integer",
            "minimum": 1,
            "maximum": 3600,
            "description": "The ACW timer expiry in terms of the specified units.\n",
            "example": 10
          },
          "afterContactWorkOverrideQueue": {
            "type": "boolean",
            "description": "user afterContactWork overrides queue setting",
            "example": false
          },
          "providers": {
            "readOnly": true,
            "type": "array",
            "maxItems": 10,
            "items": {
              "$ref": "#/components/schemas/Provider"
            }
          }
        }
      },
      "MessagingChannelUserFeature": {
        "description": "Details of Messaging Channel feature assigned to the user.",
        "type": "object",
        "properties": {
          "autoAnswer": {
            "type": "boolean",
            "description": "Auto-answer enabled disble for this channel",
            "example": false
          },
          "multiplicity": {
            "type": "integer",
            "format": "int32",
            "minimum": 1,
            "maximum": 10,
            "example": 2,
            "description": "Multiplicity of channels"
          },
          "afterContactWork": {
            "type": "boolean",
            "description": "afterContactWork enable/disble for this channel",
            "example": false
          },
          "afterContactWorkMode": {
            "type": "string",
            "enum": [
              "DEFAULT",
              "DISABLED",
              "MANUAL",
              "TIMED"
            ],
            "description": "The mode used to determine expiry.",
            "example": "TIMED"
          },
          "afterContactWorkTimer": {
            "nullable": true,
            "type": "integer",
            "minimum": 1,
            "maximum": 3600,
            "description": "The ACW timer expiry in terms of the specified units.\n",
            "example": 10
          },
          "afterContactWorkOverrideQueue": {
            "type": "boolean",
            "description": "user afterContactWork overrides queue setting",
            "example": false
          },
          "providers": {
            "readOnly": true,
            "type": "array",
            "maxItems": 10,
            "items": {
              "$ref": "#/components/schemas/Provider"
            }
          }
        }
      },
      "Provider": {
        "type": "object",
        "properties": {
          "providerAgentId": {
            "description": "Identifier that represents the provider agent.",
            "type": "string",
            "example": "stevens@avaya.com",
            "maxLength": 255
          },
          "channelProviderId": {
            "description": "The unique 36 character internal id (uuid) that represents the channel provider.",
            "type": "string",
            "example": "d7c2909d-75e9-484a-94c0-b7e8d30771dd",
            "minLength": 36,
            "maxLength": 36,
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          }
        }
      },
      "CloudSwitchVoiceUserFeature": {
        "description": "This model is used to populate voice feature data on UI while editing user",
        "type": "object",
        "properties": {
          "voicePriority": {
            "type": "boolean",
            "default": false,
            "description": "Voice call excludes new work on all other channels\n",
            "example": false
          },
          "autoAnswer": {
            "type": "boolean",
            "default": false,
            "description": "Represent if the voice call to Agent is to be auto answered or not. Value can be true or false",
            "example": false
          },
          "afterContactWork": {
            "type": "boolean",
            "default": false,
            "description": "afterContactWork enable/disble for this channel",
            "example": false
          },
          "afterContactWorkMode": {
            "type": "string",
            "enum": [
              "DEFAULT",
              "DISABLED",
              "MANUAL",
              "TIMED"
            ],
            "description": "The mode used to determine expiry.",
            "example": "TIMED"
          },
          "afterContactWorkTimer": {
            "nullable": true,
            "type": "integer",
            "minimum": 1,
            "maximum": 3600,
            "description": "The ACW timer expiry in terms of the specified units.\n",
            "example": 10
          },
          "afterContactWorkOverrideQueue": {
            "type": "boolean",
            "description": "user afterContactWork overrides queue setting",
            "example": false
          },
          "userExtension": {
            "type": "string",
            "example": "10021",
            "readOnly": true
          },
          "emergencyLocationIdentificationNumber": {
            "type": "string",
            "example": "7798098090",
            "readOnly": true
          },
          "providers": {
            "readOnly": true,
            "type": "array",
            "maxItems": 10,
            "items": {
              "$ref": "#/components/schemas/Provider"
            }
          },
          "deviceType": {
            "type": "string",
            "example": "WEBRTC",
            "readOnly": true
          },
          "password": {
            "type": "string",
            "example": "Admin123$",
            "description": "Represents Voice agent password.",
            "readOnly": true
          }
        }
      },
      "CMVoiceUserFeature": {
        "description": "This model is used to populate CM voice feature data in user",
        "type": "object",
        "required": [
          "agentLoginId",
          "extensionNumber",
          "communicationProfileAddresses"
        ],
        "properties": {
          "deviceType": {
            "type": "string",
            "example": "CM",
            "readOnly": true
          },
          "agentLoginId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16,
            "pattern": "^[1-9][0-9]*$",
            "maximum": 10000000000000000,
            "description": "Represent CM agent Id of User.",
            "example": "2501"
          },
          "agentPassword": {
            "description": "Represents CM agent password. This field is deprecated. Use agentLoginPassword field.",
            "type": "integer",
            "format": "int64",
            "minimum": 1,
            "maximum": 999999999,
            "example": 81234,
            "deprecated": true
          },
          "agentLoginPassword": {
            "description": "Represents CM agent login password in String format.",
            "type": "string",
            "minLength": 1,
            "maxLength": 16,
            "pattern": "^[0-9]*$",
            "example": "012345"
          },
          "extensionNumber": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16,
            "maximum": 10000000000000000,
            "pattern": "^[1-9][0-9]*$",
            "description": "Represent Extension needed to map to User.",
            "example": "3501"
          },
          "communicationProfileAddresses": {
            "type": "array",
            "minItems": 1,
            "maxItems": 50,
            "description": "Represents the communication profile addresses.",
            "items": {
              "$ref": "#/components/schemas/CommunicationProfileAddress"
            }
          },
          "communicationProfilePassword": {
            "description": "Represent communication profile password.",
            "type": "string",
            "example": "UserPassword@123",
            "minLength": 2,
            "maxLength": 256
          },
          "providers": {
            "readOnly": true,
            "type": "array",
            "maxItems": 10,
            "items": {
              "$ref": "#/components/schemas/Provider"
            }
          }
        }
      },
      "UserACIFeature": {
        "description": "This model is used to populate ACI (Avaya Conversational Intelligence) feature data on UI while editing a user.\n\nCurrently, this model expects no properties and any properties passed to it will be ignored.\n\nIn the future, expected properties will be added as the model evolves.\n\nTo enable ACI simply pass an empty object `{}`.\n",
        "type": "object"
      },
      "UserOutboundFeature": {
        "type": "object",
        "description": "This model is used to populate Outbound user feature data on UI while editing a user.\n\nCurrently, this model expects no properties and any properties passed to it will be ignored.\n\nIn the future, expected properties will be added as the model evolves.\n\nTo enable outbound simply pass an empty object `{}`.\n"
      },
      "UserRecorderFeature": {
        "type": "object",
        "description": "This model is used to populate Recorder user feature data on UI while editing a user.\n\nCurrently, this model expects no properties and any properties passed to it will be ignored.\n\nIn the future, expected properties will be added as the model evolves.\n\nTo enable Recorder simply pass an empty object `{}`.\n"
      },
      "Address": {
        "description": "A real address for an user.",
        "type": "object",
        "required": [
          "addressName",
          "streetName",
          "streetNumber",
          "countryCode",
          "zip"
        ],
        "properties": {
          "addressId": {
            "type": "string",
            "example": "c8c2909d-75e9-484a-94c0-b7e8d29771fe",
            "minLength": 36,
            "maxLength": 36,
            "readOnly": true,
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "addressName": {
            "type": "string",
            "minLength": 2,
            "maxLength": 32,
            "pattern": "^[a-zA-Z\\p{L}0-9]+([ ]*[a-zA-Z\\p{L}0-9-\\_\\*\\=\\+\\$\\:\\;\\&\\~\\,\\?\\%\\!\\|\\{\\}\\`\\.\\']+)*$",
            "example": "Home address"
          },
          "addressType": {
            "type": "string",
            "nullable": true,
            "enum": [
              "OFFICE",
              "APARTMENT",
              "BASEMENT",
              "BUILDING",
              "DEPARTMENT",
              "FLOOR",
              "FRONT",
              "KEY",
              "LOBBY",
              "LOT",
              "LOWER",
              "PENTHOUSE",
              "PIER",
              "REAR",
              "ROOM",
              "SIDE",
              "SLIP",
              "SPACE",
              "STOP",
              "SUITE",
              "TRAILER",
              "UNIT",
              "UPPER"
            ],
            "example": "UNIT",
            "description": "It is to narrow down the exact dispatched location for the agent/user"
          },
          "addressTypeNumber": {
            "type": "string",
            "minLength": 0,
            "maxLength": 64,
            "example": "101",
            "description": "It is optional unless the AddressType is specified and it can be used for things like \"Floor 1\" or \"Unit 101\"."
          },
          "streetNumber": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16,
            "example": "A11"
          },
          "streetName": {
            "type": "string",
            "minLength": 2,
            "maxLength": 128,
            "example": "Allstate Pkwy"
          },
          "city": {
            "type": "string",
            "minLength": 0,
            "maxLength": 128,
            "example": "Markham"
          },
          "state": {
            "type": "string",
            "minLength": 1,
            "maxLength": 3,
            "example": "ON"
          },
          "countryCode": {
            "type": "string",
            "minLength": 2,
            "maxLength": 3,
            "pattern": "^[A-Za-z]{2,3}$",
            "example": "ZW"
          },
          "zip": {
            "type": "string",
            "minLength": 4,
            "maxLength": 16,
            "example": "L3R9T8",
            "pattern": "^[A-Za-z0-9\\p{L}_ -]*$"
          },
          "isDefault": {
            "type": "boolean",
            "description": "Indicated default address of user",
            "example": false,
            "default": false
          }
        }
      },
      "AccountAddress": {
        "description": "Assigned account address for the user.",
        "type": "object",
        "required": [
          "addressId"
        ],
        "properties": {
          "addressId": {
            "type": "string",
            "example": "c8c2909d-75e9-484a-94c0-b7e8d29771fe",
            "minLength": 36,
            "maxLength": 36,
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "isDefault": {
            "type": "boolean",
            "description": "Indicated default address of user",
            "example": false,
            "default": false
          }
        }
      },
      "AdvancedCMVoiceUserFeature": {
        "description": "This model is used to populate Advanced CM voice feature data in user",
        "type": "object"
      }
    },
    "parameters": {
      "accountId": {
        "name": "accountId",
        "description": "The unique 6 character internal id that represents the customer account.",
        "required": true,
        "in": "path",
        "schema": {
          "type": "string",
          "minLength": 6,
          "maxLength": 6,
          "pattern": "^[a-zA-Z]{6}$",
          "example": "ABCDEF"
        }
      },
      "pageNumber": {
        "name": "pageNumber",
        "in": "query",
        "description": "The page number of the records to retrieve. Default value is 1.",
        "schema": {
          "type": "integer",
          "format": "int32",
          "default": 1,
          "minimum": 1,
          "example": 2
        }
      }
    },
    "examples": {
      "UserPage": {
        "description": "Paginated User Data",
        "value": {
          "pagination": {
            "pageNumber": 2,
            "pageSize": 10,
            "total": 45
          },
          "users": [
            {
              "organizationNodeId": "EXMPLE",
              "userId": "c8c2909d-75e9-484a-94c0-b7e8d29771fe",
              "loginId": "stevens@avaya.com",
              "lastName": "Stevens",
              "firstName": "Alex",
              "displayName": "Stevens, Alex",
              "emailId": "stevens@avaya.com",
              "profileId": "FSADSJ",
              "memberOfGroups": [
                "c8c2909d-75e9-484a-94c0-b7e8d29771fe"
              ],
              "ownedGroups": [
                "a8b6d39c-53c5-4d94-a640-c28bee987ed7"
              ],
              "roles": [
                "Agent"
              ],
              "resourcePartitions": [
                "a8b6d39c-53c5-4d94-a640-c28bee987ed7",
                "opl6d39c-78ui-4d94-qqqq-c28bee987ed7"
              ],
              "addresses": [
                {
                  "addressId": "c8c2909d-75e9-484a-94c0-b7e8d29771fe",
                  "addressName": "Address Name",
                  "addressType": "OFFICE",
                  "addressTypeNumber": "101",
                  "streetNumber": "A11",
                  "streetName": "Allstate Pkwy",
                  "city": "Markham",
                  "state": "ON",
                  "countryCode": "ZW",
                  "zip": "L3R9T8",
                  "isDefault": false
                }
              ],
              "accountAddresses": [
                {
                  "addressId": "c8c2909d-75e9-484a-94c0-b7e8d29771fe",
                  "isDefault": false
                }
              ],
              "features": {
                "matching": {
                  "attributes": [
                    "Language.English",
                    "Language.French"
                  ],
                  "queues": [
                    {
                      "queueId": "620bbb28-7112-433a-af59-17ee0f15a247",
                      "proficiency": 10
                    },
                    {
                      "queueId": "07d2c0a3-f05c-47e7-a86e-51148d3d4fd4",
                      "proficiency": 6
                    }
                  ]
                },
                "chat": {
                  "autoAnswer": false,
                  "multiplicity": 2,
                  "afterContactWork": false,
                  "providers": [
                    {
                      "providerAgentId": "stevens@avaya.com",
                      "channelProviderId": "d7c2909d-75e9-484a-94c0-b7e8d30771dd"
                    }
                  ]
                },
                "messaging": {
                  "autoAnswer": false,
                  "multiplicity": 2,
                  "afterContactWork": false,
                  "providers": [
                    {
                      "providerAgentId": "stevens@avaya.com",
                      "channelProviderId": "d7c2909d-75e9-484a-94c0-b7e8d30771dd"
                    }
                  ]
                },
                "email": {
                  "autoAnswer": false,
                  "multiplicity": 2,
                  "afterContactWork": false,
                  "providers": [
                    {
                      "providerAgentId": "stevens@avaya.com",
                      "channelProviderId": "d7c2909d-75e9-484a-94c0-b7e8d30771dd"
                    }
                  ]
                },
                "voice": {
                  "voicePriority": true,
                  "autoAnswer": false,
                  "afterContactWork": false,
                  "userExtension": "10021",
                  "emergencyLocationIdentificationNumber": "7798098090",
                  "providers": [
                    {
                      "providerAgentId": "stevens@avaya.com",
                      "channelProviderId": "d7c2909d-75e9-484a-94c0-b7e8d30771dd"
                    }
                  ]
                },
                "cmvoice": {
                  "agentLoginId": "11021",
                  "agentPassword": 81238,
                  "agentLoginPassword": "012345",
                  "extensionNumber": "1111",
                  "communicationProfileAddresses": [
                    {
                      "address": "10022@SipDomain1.com",
                      "type": "SIP",
                      "isDefault": true
                    },
                    {
                      "address": "+12345@avaya.com",
                      "type": "E164",
                      "isDefault": false
                    }
                  ],
                  "communicationProfilePassword": "anypasswordstring"
                },
                "aci": {},
                "recorder": {},
                "outbound": {},
                "advancedcmvoice": {}
              }
            }
          ],
          "links": {
            "prev": "/api/admin/user/v1/accounts/ASDJGE/users?pageNumber=1&pageSize=10",
            "next": "/api/admin/user/v1/accounts/ASDJGE/users?pageNumber=3&pageSize=10"
          }
        }
      },
      "ErrorConstraintViolation": {
        "description": "Constraint Violation",
        "value": {
          "type": "https://developers.avayacloud.com/avaya-experience-platform/docs/error-handling#constraint-violation",
          "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": "accountId",
              "message": "must match \"^[a-zA-Z]{6}$\"",
              "code": 20006
            }
          ]
        }
      },
      "ErrorUnauthorized": {
        "description": "Unauthorized",
        "value": {
          "type": "https://developers.avayacloud.com/avaya-experience-platform/docs/error-handling#unauthorized",
          "title": "Unauthorized",
          "status": 401,
          "detail": "This operation requires authentication. See https://developers.avayacloud.com/avaya-experience-platform/docs/how-to-authenticate-with-ccaas-apis"
        }
      },
      "ErrorForbidden": {
        "description": "Forbidden",
        "value": {
          "type": "https://developers.avayacloud.com/avaya-experience-platform/docs/error-handling#forbidden",
          "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": "https://developers.avayacloud.com/avaya-experience-platform/docs/error-handling#resource-not-found",
          "title": "Resource Not Found",
          "status": 404,
          "detail": "Either there is no API method associated with the URL path of the request, or the request refers to one or more resources that were not found."
        }
      },
      "ErrorInternalServerError": {
        "description": "Server Error",
        "value": {
          "type": "https://developers.avayacloud.com/avaya-experience-platform/docs/error-handling#server-error",
          "title": "Server Error",
          "status": 500,
          "detail": "An internal server error was encountered."
        }
      }
    }
  },
  "x-readme": {
    "proxy-enabled": true
  }
}
```