Skip to main content
POST
Register

Endpoint

Registration uses a two-step OTP verification flow. Call /auth/register/send-otp first to trigger email verification, then call this endpoint after the user verifies.

Request Body

string
required
User email address
string
required
Account password (minimum 8 characters)
string
Display name shown in the UI

Example Request

Response

string
Firebase ID token (JWT). Use this as Authorization: Bearer <id_token> for API requests.
string
Long-lived refresh token used to obtain new ID tokens via /auth/refresh.
number
Seconds until the ID token expires (3600 = 1 hour).
string
Registered email address.
string
Firebase user ID.

Success Response (201)

Error Responses