Registering a new user creates a Supabase Auth account and, when email confirmation is disabled, immediately provisions a row in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Taykl12/Classify/llms.txt
Use this file to discover all available pages before exploring further.
usuarios table and returns a usable JWT session. When email confirmation is enabled (the default in most production environments), Supabase sends a verification email and the response contains only a minimal user object — no tokens are issued until the user confirms their address.
Request
application/json
Body parameters
The user’s email address. Must be a valid email format and not already registered in Supabase Auth.
The user’s chosen password. Supabase enforces a minimum length of 6 characters by default.
The user’s given name. Stored as
nombre in the usuarios table and in Supabase user metadata.The user’s family name. Stored as
apellido in the usuarios table and in Supabase user metadata.Responses
Case 1 — Email confirmation required 200 OK
When Supabase requires the user to confirm their email before gaining access, no session is created. The response includes a message and a minimal user object.
A human-readable notice instructing the user to check their inbox.
Minimal user record returned before confirmation.
Case 2 — Immediate session 200 OK
When email confirmation is disabled, registration completes in a single step. A row is inserted into usuarios with id_rol = 3 (default role) and a full session is returned.
Short-lived JWT to use as the
Authorization: Bearer token on protected requests.Long-lived token that can be exchanged for a new access token when it expires.
Full user profile.
Error responses
| Status | Condition |
|---|---|
400 | One or more required fields are missing from the request body |
400 | Supabase signUp returned an error (e.g. email already in use) |