Skip to main content
POST
/
users
/
create
/
basic-auth
Create a new user with basic authentication
curl --request POST \
  --url https://auth.platform.arb.inc/users/create/basic-auth \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "password": "MySecurePassword123!",
  "firstName": "Jane",
  "termsOfService": "2025-02-19T16:00:00.000Z",
  "lastName": "Doe"
}
'
"Account successfully created"

Body

application/json
email
string<email>
required

User's email address.

password
string
required

User's password. Must meet the following security requirements:

  • At least 8 characters long
  • At least one uppercase letter
  • At least one lowercase letter
  • At least one digit
  • At least one special character
Example:

"MySecurePassword123!"

firstName
string
required

User's first name.

Example:

"Jane"

termsOfService
string<date-time>
required

RFC3339 timestamp indicating when the user accepted the Terms of Service.

Example:

"2025-02-19T16:00:00.000Z"

lastName
string | null

User's last name (optional).

Example:

"Doe"

Response

Account successfully created.

The response is of type string.

Example:

"Account successfully created"