cURL
curl --request POST \ --url https://api.example.com/auth/register \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "password": "<string>", "name": "<string>", "phone": "<string>" } '
{ "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "user": { "id": "usr_abc123", "email": "usuario@ejemplo.com", "name": "Juan Pérez", "phone": "+584121234567", "role": "user", "status": "pending_verification" } }
Crea una nueva cuenta de usuario en la plataforma.
Show Propiedades