API reference / Accounts
post
/v2/accounts/sign-inSign in to the applicant wizard
- Operation
signInAccount- Authentication
- None — public
The password grant of `POST /v1/token`, ending in an `HttpOnly` cookie instead of tokens in the body — the browser never holds a credential a script can read. Requires a confirmed address (an unconfirmed account answers 409) because the session is what scopes the wizard to the applicant’s own applications, and confirming is what attaches the application they started before they signed up. An account with two-factor authentication is refused: no second-factor step exists on this surface yet.
Request
Body
emailstringrequiredpasswordstringrequiredResponses
200Signed in. The session is in the cookie, not the body.
userAccountUserrequiredlinked_applicationsobject[]required400The request body or query failed validation.
errorobjectrequired401Email or password is incorrect.
errorobjectrequired403The account has two-factor authentication enabled.
errorobjectrequired409The email address has not been confirmed.
errorobjectrequired429Too many requests.
errorobjectrequiredExample
curl -X POST https://api.haavisa.com/v2/accounts/sign-in \
-H "Content-Type: application/json" \
-d '{
"email": "<email>",
"password": "<password>"
}'More in Accounts
POST/v1/tokenGET/v1/token/introspectPOST/v1/token/mfaPOST/v1/token/revokePOST/v2/accountsGET/v2/accounts/mePATCH/v2/accounts/meGET/v2/accounts/me/messaging-consentPUT/v2/accounts/me/messaging-consentPOST/v2/accounts/mfa/activatePOST/v2/accounts/mfa/disablePOST/v2/accounts/mfa/enrollPOST/v2/accounts/password-resetPOST/v2/accounts/password-reset/confirmPOST/v2/accounts/sign-outPOST/v2/accounts/verify-emailPOST/v2/accounts/verify-email/resend
Something unclear? The eligibility guide explains the model behind the answers; the errors guide covers the envelope.