v1

latestOpenAPI 3.1.02026-07-2676188241.3 KB
Users

Create a new user and add it to the customer

post/projects/{projectId}/customers/{customerId}/users

Path parameters

projectIdstring required
Example:consoleproject

Unique identifier of your project in the Corti API Console.

To find it, open your project at console.corti.app, go to Settings, and copy the value from the Project ID field.

customerIdstring required
Example:contosohospital

The unique identifier for a Customer

Request body

emailstring email required

User's email address

firstNamestring required

User's first name

lastNamestring required

User's last name

passwordstring

User's initial password.

Example request

{
  "email": "user@example.com",
  "firstName": "John",
  "lastName": "Doe",
  "password": "My$ecureP@ssw0rd123!"
}

Response

User created successfully

idstring uuid

Unique identifier for the user

emailstring email required

User's email address

firstNamestring required

User's first name

lastNamestring required

User's last name

emailVerifiedboolean

Flag indicating whether the user's email address has been verified

enabledboolean required

Flag indicating if the user account is active

createdAtstring date-time

Timestamp when the user was created

Example response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "email": "user@example.com",
  "firstName": "John",
  "lastName": "Doe",
  "emailVerified": true,
  "enabled": true,
  "createdAt": "2023-10-01T12:00:00Z"
}