cURL
curl --request GET \ --url https://sandbox.x.architect.co/api/whoami \ --header 'Authorization: Bearer <token>'
{ "enabled_2fa": true, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "is_admin": true, "is_close_only": true, "is_frozen": true, "is_onboarded": true, "username": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Current user information