---
title: "Create a reseller user"
method: POST
path: "/v3/resellers/{resellerId}/users"
tags: ["ResellerUsers"]
---

# Create a reseller user

`POST /v3/resellers/{resellerId}/users`

Creates a new reseller user.

## Path parameters

- `resellerId` string, required

## Request body

- ResellerUserRequestModel
  - `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.
  - `company` string, nullable — Company of the user.
  - `organizationId` string, nullable — Unique identifier for the organization.
  - `allowCustomerPortalAccess` boolean, required — Allow customer portal access.
  - `password` string, required — Password of the user.

## Response `201`

Created

- ResellerUserDto
  - `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
  - `organizationId` string, nullable
  - `organization` ResellerOrganizationDto
    - `id` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `organizationAlias` string, nullable
    - `name` string, required
    - `email` string, required
    - `description` string, required
    - `allowedUsers` integer, required
    - `address` AddressDto, required
      - `addressLine1` string, nullable
      - `addressLine2` string, nullable
      - `city` string, nullable
      - `state` string, nullable
      - `country` string, nullable
      - `postalCode` string, nullable
  - `company` string, nullable

## 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)
