cURL
curl --request POST \ --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/auth-signup \ --header 'Content-Type: application/json' \ --data ' { "phone": "+2348012345678", "first_name": "Ade", "last_name": "Johnson", "password": "S3cure!Pass" } '
{ "success": true, "status": 201, "data": { "user": { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "phone": "+2348012345678" }, "session": { "access_token": "eyJhbGciOiJIUzI1NiJ9...", "refresh_token": "eyJhbGciOiJIUzI1NiJ9...", "expires_in": 3600, "token_type": "bearer" } } }
Creates a new user account. The phone number must have been verified first via POST /auth-verify with context: signup. Returns a session immediately — no second OTP step required.
POST /auth-verify
context: signup
1
"Ade"
"Johnson"
Account created — session returned
true
200
Show child attributes