---
title: "POST /v1/users"
method: POST
path: "/v1/users"
---

# POST /v1/users

`POST /v1/users`

## Request

- Base URL: `https://nhse-${ENV}-innovation-service-admin-functions.azurewebsites.net/api`
- URL: `https://nhse-${ENV}-innovation-service-admin-functions.azurewebsites.net/api/v1/users`
- Auth: none declared

Create a user.

## Request body

- object
  - `givenName` string, required: Given name of the user.
  - `surname` string, required: Surname of the user.
  - `email` string, email, required: Email of the user.
  - `strategicRoles` string[]: Strategic roles to be assigned to the user.
  - `role` 'ADMIN' | 'ASSESSMENT' | 'ACCESSOR' | 'QUALIFYING_ACCESSOR', required: Role of the user.
  - `organisationId` string, uuid, required: Id of the organisation.
  - `unitIds` string[], required: Ids of the organisation units.

## Response `201`

The user has been created.

- object
  - `id` string, uuid, required

## Other responses

- `400`: Bad request.
- `401`: The user is not authorized to create a user.
- `500`: An error occurred while creating the user.

## Changes

- **2026-09-22** `b7373ed243ff`: 2 breaking, 1 warning
  - added the new required request property `givenName`
  - added the new required request property `surname`
  - removed the request property `name`
- **2026-01-14** `1a84c9639e0b`: 1 info
  - added the new optional request property `strategicRoles`
- **2024-11-07** `bf0b42ebdc02`: 1 info
  - the response property `id` became required for the status `201`
- **2023-08-24** `3419337bcb8a`: 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `201`
- **2023-08-24** `6ddeb2c9e28d`: 1 breaking, 1 info
  - removed the success response with the status `201`
  - added the success response with the status `200`

[Operation history](https://skmtc.dev/nhs-england/apis/admin-api-nhs-innovation-service/changes/v1/users/post.md)

---

[API](https://skmtc.dev/nhs-england/apis/admin-api-nhs-innovation-service.md) - [All operations](https://skmtc.dev/nhs-england/apis/admin-api-nhs-innovation-service/llms.txt) - [OpenAPI document](https://skmtc.dev/nhs-england/apis/admin-api-nhs-innovation-service/revisions/97dbf652314e?raw)
