---
title: "Create an organization user"
method: POST
path: "/v3/organizations/{organizationId}/users"
tags: ["OrganizationUsers"]
---

# Create an organization user

`POST /v3/organizations/{organizationId}/users`

Creates a new organization user.

## Path parameters

- `organizationId` string, required

## Request body

- OrganizationUserRequestModel
  - `firstName` string, required — First name of the user. //
  - `lastName` string, nullable — Last name of the user.
  - `email` string, email, required — Email address of the user.
  - `role` string, required — Role of the user.
  - `userGroupIds` string[], required — List of unique identifiers for the user groups.
  - `allowCustomerPortalAccess` boolean, required — Allow customer portal access.
  - `password` string, required — Password of the user.

## Response `201`

Created

- OrganizationUserDto
  - `id` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `name` string, required
  - `firstName` string, required
  - `lastName` string, required
  - `email` string, required
  - `role` string, required
  - `twoFactorEnabled` boolean, required
  - `googleSsoEnabled` boolean, required
  - `lastLoginAt` string, date-time, nullable
  - `userGroups` BaseUserGroupDto[], required
    - `id` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `name` string, required
    - `description` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `429` — Too Many Requests
- `500` — Server Error

---

[API](https://skmtc.net/cryptlex/apis/cryptlex-web-api.md) · [All operations](https://skmtc.net/cryptlex/apis/cryptlex-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cryptlex/cryptlex-web-api/versions/ec1259c12475/schema)
