cURL
curl --request POST \ --url https://sandbox.x.architect.co/api/authenticate \ --header 'Content-Type: application/json' \ --data '{ "password": "<string>", "username": "<string>", "expiration_seconds": 123, "totp": "<string>" }'
{ "token": "<string>" }
Exchange credentials for a bearer token.
Must provide exactly one of:
username
password
api_key
secret
Optional 2FA code, if 2FA is enabled/required for the user.
Token generated successfully
Strong type for Token with validation