S
ShowvaanaAPI v1.0
All 27 Modules Operational
Back to Home
Authentication•Module 1

Register a new user account (and optionally auto-create their organization)

Register a new user account (and optionally auto-create their organization)

POST/api/v1/auth/register
Public Access
Request Body (JSON)
FieldTypeDefaultDescription
firstNamestringrequired—Given first name.
lastNamestringrequired—Family surname.
emailstringrequired—Valid email address.
passwordstringrequired—Strong password string.
phonestringoptional—Mobile phone number.
Response Status Codes
StatusMeaningDescription
200 / 201Success / CreatedRequest fulfilled successfully with standard JSON envelope.
422 UnprocessableDTO Validation ErrorPayload validation failed. Returns key `VALIDATION_FAILED` with field details in `details`.
403 ForbiddenRBAC Role ViolationAuthenticated user lacks required role or permission for this resource.