Overview
Creates a new user account. After registering, use the login endpoint to obtain a Bearer token.Request
Method:POST
URL: /api/v1/auth/register
Headers
| Header | Value |
|---|---|
| Content-Type | application/json |
Body parameters
The user’s email address. Must be unique — registration fails if this email is already in use.
The user’s full name.
The user’s password. Must be at least 8 characters.
Response
Returns the newly created user object.Unique identifier for the user.
The user’s email address.
The user’s full name.
Whether the user’s email address has been verified. Defaults to
false on registration.Whether this account was created via Google OAuth.
URL of the user’s avatar image, or
null if not set.Example
Response example
Errors
| Status | Meaning |
|---|---|
| 400 | Email already registered |
| 422 | Validation error — missing required fields or password too short |