POST
/
auth
/
register
curl -X POST \
 /auth/register \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer <token>" \
 --data '{
    "email": "",
    "password": "********",
    "repeatPassword": "********"
}'
{
  "id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
  "firstName": "John",
  "lastName": "Doe",
  "email": "jsmith@example.com",
  "defaultAccount": "https://example.com/",
  "createdAt": "2023-11-07T05:31:56Z",
  "confirmToken": "<string>",
  "confirmTokenValidUntil": "2023-11-07T05:31:56Z",
  "updatedAt": "2021-01-01T00:00:00+00:00",
  "confirmed": true,
  "userIdentifier": "<string>",
  "passwordEqual": true,
  "completed": true,
  "name": "<string>",
  "superAdmin": true,
  "passwordRecoveryTokenExpired": true,
  "resetPasswordToken": "<string>",
  "resetPasswordTokenExpiresAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Body

The new User resource
email
string
required
password
string
required
Minimum length: 8
repeatPassword
string | null
required

Response

201
application/json
User resource created
firstName
string
required

The firstname of the user

Required string length: 2 - 255
lastName
string
required

The lastname of the user

Required string length: 2 - 255
email
string
required
id
string
defaultAccount
string | null
createdAt
string
confirmToken
string | null
confirmTokenValidUntil
string | null
updatedAt
string

The date and time when the resource was last updated.

confirmed
boolean
userIdentifier
string
passwordEqual
boolean
completed
boolean
name
string
superAdmin
boolean
passwordRecoveryTokenExpired
boolean
resetPasswordToken
string | null
resetPasswordTokenExpiresAt
string | null