Skip to main content
POST
Create a new user

Create a new user.

Authorizations

x-api-key
string
header
required

Body

application/json

The user to create

name
string
required

The name of the user

Example:

"John Doe"

email
string
required

The email of the user

Example:

"john.doe@example.com"

phone
string
required

The phone number of the user

Example:

"+1234567890"

Response

User created successfully

id
string
required

The unique identifier of the user

Example:

"690739f7-3e1b-4ceb-a439-23bd9c7ae573"

created_at
string<date-time>
required

The timestamp when the user was created

Example:

"2024-12-09T19:15:03.738Z"

updated_at
string<date-time>
required

The timestamp when the user was last updated

Example:

"2024-12-09T19:15:03.738Z"

name
string
required

The name of the user

Example:

"Dev's User 2"

email
string
required

The email of the user

Example:

"devU2@devweb.com"

phone
string
required

The phone number of the user

Example:

"9546557824"

tenant_app_id
string
required

The ID of the tenant app this user belongs to

Example:

"2bac016b-ad8f-4bf9-afb3-a63814bca95f"