curl -X POST "http://localhost:8080/signup" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "password": "securepassword123", "data": { "first_name": "John", "last_name": "Doe" } }'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "aud": "authenticated", "role": "authenticated", "email": "user@example.com", "phone": null, "email_confirmed_at": null, "phone_confirmed_at": null, "last_sign_in_at": null, "app_metadata": { "provider": "email", "providers": ["email"] }, "user_metadata": { "first_name": "John", "last_name": "Doe" }, "created_at": "2023-01-01T00:00:00Z", "updated_at": "2023-01-01T00:00:00Z" }
Register a new user with email/phone and password
{ "code": 400, "msg": "Invalid request data", "details": "Email is required" }
email_confirmed_at
null
{ "phone": "+1234567890", "password": "securepassword123" }