Skip to main content
POST
/
login
cURL
curl --request POST \
  --url https://gateway.architect.exchange/api/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "<string>",
  "username": "<string>",
  "expiration_seconds": 123,
  "redirect_url": "<string>",
  "totp": "<string>"
}
'

Body

application/json
password
string
required
username
string
required
expiration_seconds
integer<int32>
required
redirect_url
string
required

Redirect URL to redirect to after successful login.

totp
string | null

Optional 2FA code, if 2FA is enabled/required for the user.

Response

2FA required, redirects to 2FA screen URL