Auth

Register a new user

POST
http://localhost:3000/api/auth/register

Body

application/json
passwordstringrequired
confirmPasswordstringrequired
userCreateUserDTOrequired
Show child attributes
emailstringrequired
roleIdstring
roleobject

Role reference: an object with the role id (UUID).

firstNamestring
lastNamestring
imageUrlstring
preferredLanguagestringenbgherufreszhdeptitnlplar
organizationIdstring
createdByUserIdstring
featureAsEmployeeboolean
Show child attributes
documentIdstringrequired
Example
tos:gauzy
versionstringrequired
Example
1.0.0
sha256stringrequired

Lowercase hex sha256 of the document source.

localestringrequired
Example
en
stripeCheckoutSessionIdstring

Stripe Checkout Session id (cs_live_... / cs_test_...)

Parameters

originstringrequiredheader

Response

201Created

The record has been successfully created.

400Bad Request

Invalid input, the response body may contain clues as to what went wrong

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey