Register — POST /api/v1/auth/register
Register
Self-service registration, when the deployment allows it.
Endpoint: POST /api/v1/auth/register
Authentication: No access token or API key is needed.
Parameters
Section titled “Parameters”This endpoint takes no parameters.
Request body
Section titled “Request body”| Content type | Body | Required |
|---|---|---|
application/json | UserCreate | yes |
Responses
Section titled “Responses”| Status | Meaning | Body |
|---|---|---|
201 | Successful Response | UserResponse (application/json) |
422 | Validation Error | HTTPValidationError (application/json) |
Errors this endpoint returns, read from its source code:
403409, with the message “Email or username already registered”
Statuses not listed here are explained in Errors and retries.
More details
Section titled “More details”- Group: Authentication
- Operation ID:
register_api_v1_auth_register_post - Source code:
backend/app/routers/auth.py, line 333 - Specification: OpenAPI JSON