{ "first_name": "John", "last_name": "Doe", "username": "johndoe", "email": "john.doe@example.com", "password": "secure-password", "confirm_password": "secure-password" }
{ "user": { "id": "550e8400-e29b-41d4-a716-446655440000", "aud": "authenticated", "role": "authenticated", "email": "john.doe@example.com", "email_confirmed_at": null, "phone": "", "confirmed_at": null, "last_sign_in_at": "2023-05-01T12:34:56.789Z", "app_metadata": { "provider": "email", "providers": ["email"] }, "user_metadata": { "first_name": "John", "last_name": "Doe" }, "identities": [], "created_at": "2023-05-01T12:34:56.789Z", "updated_at": "2023-05-01T12:34:56.789Z" } }
Create new user accounts
curl -X POST https://api.productflo.io/auth/signup \ -H "Content-Type: application/json" \ -d '{ "first_name": "John", "last_name": "Doe", "username": "johndoe", "email": "john.doe@example.com", "password": "secure-password", "confirm_password": "secure-password" }'
Show User properties
Show User metadata properties
curl -X POST https://api.productflo.io/auth/phone-signup \ -H "Content-Type: application/json" \ -d '{ "username": "johndoe", "phone_number": "+12345678901", "password": "secure-password", "confirm_password": "secure-password" }'
curl -X POST https://api.productflo.io/auth/provider \ -H "Content-Type: application/json" \ -d '{ "provider": "google" }'
{ "provider": "google" }
{ "url": "https://accounts.google.com/o/oauth2/v2/auth?client_id=..." }
GET /auth/callback?code=AUTHORIZATION_CODE&state=STATE