Skip to main content

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

Body parameters

string
required
The user’s email address. Must be unique — registration fails if this email is already in use.
string
required
The user’s full name.
string
required
The user’s password. Must be at least 8 characters.

Response

Returns the newly created user object.
string (UUID)
Unique identifier for the user.
string
The user’s email address.
string
The user’s full name.
boolean
Whether the user’s email address has been verified. Defaults to false on registration.
boolean
Whether this account was created via Google OAuth.
string | null
URL of the user’s avatar image, or null if not set.

Example

Response example

Errors