---
updatedAt: 2026-04-16T18:20:44.000Z
---

# Bulk Add Users

**Required Role:** Admin Portal or Admin API Consumer


Bulk adds Users using the file provided. The following file formats are supported:

* `.xlsx`

The following fields must be unique otherwise a `HTTP 409 Conflict` will be returned:
* `jobName`

Will trigger an asynchronous job, the status of which should be monitored via `/jobs/{jobId}`.


# OpenAPI definition

```json
{
  "openapi": "3.1.1",
  "info": {
    "title": "User Management",
    "description": "APIs for creating, updating and retrieving individual users.\n",
    "version": "0.0.1",
    "contact": {
      "name": "Avaya API Team",
      "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 identifier",
          "default": "your-org-id"
        }
      }
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Bulk User",
      "description": "Bulk operations related to Users: Add, Update, Export.\n"
    }
  ],
  "paths": {
    "/users:bulk-add": {
      "post": {
        "tags": [
          "Bulk User"
        ],
        "summary": "Bulk Add Users",
        "description": "**Required Role:** Admin Portal or Admin API Consumer\n\n\nBulk adds Users using the file provided. The following file formats are supported:\n\n* `.xlsx`\n\nThe following fields must be unique otherwise a `HTTP 409 Conflict` will be returned:\n* `jobName`\n\nWill trigger an asynchronous job, the status of which should be monitored via `/jobs/{jobId}`.\n",
        "operationId": "bulkAddUsers",
        "parameters": [
          {
            "$ref": "#/components/parameters/jobName"
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkOperationResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "default": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "OAuth 2.0 Bearer Token with scoped permissions.\nRequired scopes documented per endpoint.\n"
      }
    },
    "responses": {
      "InternalServerError": {
        "description": "Internal Server Error",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://developers.avayacloud.com/errors/internal-error",
              "title": "Internal Server Error",
              "status": 500,
              "detail": "An unexpected error occurred while processing your request",
              "requestId": "req_xyz789",
              "timestamp": "2025-12-08T10:30:05Z"
            }
          }
        }
      },
      "BadRequest": {
        "description": "Bad Request",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://developers.avayacloud.com/errors/constraint-violation",
              "title": "Constraint Violation",
              "status": 400,
              "detail": "Request contains invalid or missing fields",
              "violations": [
                {
                  "field": "accountId",
                  "message": "must match \"^[a-zA-Z]{6}$\"",
                  "code": 20006
                }
              ]
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://developers.avayacloud.com/errors/unauthorized",
              "title": "Unauthorized",
              "status": 401,
              "detail": "Bearer token expired at 2025-12-08T10:15:00Z. Request a new token.",
              "requestId": "req_xyz789",
              "timestamp": "2025-12-08T10:30:05Z"
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://developers.avayacloud.com/errors/forbidden",
              "title": "Forbidden",
              "status": 403,
              "detail": "Missing required scope: 'workflows:execute'. Your token has: 'workflows:read'",
              "requestId": "req_xyz789",
              "timestamp": "2025-12-08T10:30:05Z"
            }
          }
        }
      },
      "NotFound": {
        "description": "Not Found",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://developers.avayacloud.com/errors/resource-not-found",
              "title": "Resource Not Found",
              "status": 404,
              "detail": "workflowId 'wf_123abc' does not exist",
              "requestId": "req_xyz789",
              "timestamp": "2025-12-08T10:30:05Z"
            }
          }
        }
      }
    },
    "parameters": {
      "jobName": {
        "name": "jobName",
        "in": "query",
        "description": "Optional name that can be provided to identify the job.",
        "required": false,
        "schema": {
          "type": "string",
          "minLength": 1,
          "maxLength": 255,
          "example": "Bulk Job"
        }
      }
    },
    "schemas": {
      "Violation": {
        "type": "object",
        "properties": {
          "field": {
            "description": "The name of the field in the request that caused the violation.\n\nThis can be the name of a path parameter, query parameter, or a field within the request body.\n",
            "type": "string",
            "readOnly": true,
            "example": "jobName"
          },
          "message": {
            "description": "A human-readable explanation specific to this occurrence of the violation.\n",
            "type": "string",
            "readOnly": true,
            "example": "must match \"^[a-zA-Z]{6}$\""
          },
          "code": {
            "description": "The violation code generated by the server for this occurrence of the violation.\n\nUse this code when implementing any error handling logic instead of the message, as the message can change.\n",
            "type": "integer",
            "format": "int32",
            "readOnly": true,
            "example": 20006
          }
        },
        "required": [
          "field",
          "message",
          "code"
        ],
        "example": [
          {
            "field": "emailAddress",
            "message": "must not be null",
            "code": 20002
          }
        ]
      },
      "Problem": {
        "type": "object",
        "description": "<b>Problem Detail</b> is a way to carry machine-readable details of errors in an HTTP\nresponse to avoid the need to define new error response formats for HTTP APIs\n\n<a href=\"https://tools.ietf.org/html/rfc7807\">RFC 7807</a>\n",
        "properties": {
          "type": {
            "description": "An absolute URI that identifies the problem type.\n\nWhen dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML).\n",
            "type": "string",
            "format": "uri",
            "readOnly": true,
            "example": "https://developers.avayacloud.com/avaya-infinity/docs/user-management#error-reference"
          },
          "title": {
            "description": "A short, summary of the problem type.\n\nWritten in English and readable for engineers (usually not suited for non technical stakeholders and not localized).\n",
            "type": "string",
            "readOnly": true,
            "example": "Service Unavailable"
          },
          "status": {
            "description": "The HTTP status code generated by the origin server for this occurrence of the problem.\n",
            "type": "integer",
            "format": "int32",
            "minimum": 300,
            "exclusiveMaximum": 600,
            "readOnly": true,
            "example": 503
          },
          "detail": {
            "description": "A human-readable explanation specific to this occurrence of the problem.\n",
            "type": "string",
            "readOnly": true,
            "example": "Connection to database timed out"
          },
          "instance": {
            "description": "An absolute URI that identifies the specific occurrence of the problem.\n\nIt may or may not yield further information if dereferenced.\n",
            "type": "string",
            "format": "uri",
            "readOnly": true
          },
          "violations": {
            "description": "A list of violations that occurred as a result of invalid data provided as part of a request.\n",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Violation"
            },
            "readOnly": true
          }
        }
      },
      "JobId": {
        "description": "Unique ID for a bulk user operation job.",
        "type": "string",
        "format": "uuid",
        "example": "c8c2909d-75e9-484a-94c0-b7e8d30771fe"
      },
      "BulkOperationResponse": {
        "description": "Response for a bulk user operation request having been accepted.",
        "type": "object",
        "required": [
          "jobId",
          "url"
        ],
        "properties": {
          "jobId": {
            "allOf": [
              {
                "$ref": "#/components/schemas/JobId"
              }
            ],
            "readOnly": true
          },
          "url": {
            "description": "URL to get details of the bulk user operation job.",
            "type": "string",
            "example": "/api/config/v1/jobs/c8c2909d-75e9-484a-94c0-b7e8d30771fe",
            "readOnly": true
          }
        },
        "title": "BulkOperationResponse"
      }
    }
  }
}
```