Skip to main content
POST
/
accounts
/
auth-with-password
curl --request POST \
  --url https://api.quiva.ai/accounts/auth-with-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "password": "SecurePassword123"
}
'
{
  "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": "admin@acme.com",
      "subscription_status": "active"
    }
  }
}

Body

application/json

Authentication credentials

email
string<email>
required

User's email address

password
string<password>
required

User's password

account
string

Account name (optional). If not provided and the user is a root user, their root account will be used.

Response

Authentication successful or MFA required

data
object
required