Skip to main content

POST /utils/signup

Create new user without the need to be logged in.

Registers a new user account in the system without requiring authentication.

Endpoint

POST /utils/signup

Parameters

NameTypeDescription
sessionSessionDepThe database session dependency used for persistence operations.
user_inUserRegisterThe registration data provided by the user, including email and password.

Request Body

FieldTypeDescription
emailstringThe email address for the new account, used as a unique identifier.
passwordstringThe password for the new account.

Response

StatusDescription
200The user was successfully created. Returns UserPublic.
400Returned when a user with the provided email address already exists. Returns JSON.