cURL
basicAuth
curl --request POST \ --url https://api.quiva.ai/accounts/auth-with-password \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "password": "SecurePassword123" } '
200
authSuccess
{ "data": { "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "auth_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "passkey_enabled": false, "totp_enabled": false, "account": { "name": "acme", "id": "acct_12345", "display_name": "ACME Corporation", "root_email": "[email protected]", "subscription_status": "active" } }}
Authenticates a user with their email and password. If MFA is enabled, returns an MFA token that must be used with a subsequent authentication request.
Authentication credentials
User's email address
User's password
Account name (optional). If not provided and the user is a root user, their root account will be used.
Authentication successful or MFA required
Show child attributes