cURL
curl --request POST \ --url https://sandbox.x.architect.co/api/api-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "password": "<string>", "totp": "<string>", "username": "<string>" }'
{ "api_key": "<string>", "secret": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Optional 2FA code, if 2FA is enabled/required for the user.
API key created successfully