Complete guide to using API keys for basic authentication with the StackOne API
Convert the API Key into a Base64 Encoded String
sk_test_1234567890
, the base64 encoded result would be: c2tfdGVzdF8xMjM0NTY3ODkw
Using the Base64 Encoded API Key for API Requests
Making Unified API Requests
x-account-id
header:your_account_id_here
with the actual account ID obtained from the List Accounts endpoint.Using StackOne SDKs with Basic Authentication
username
field and leave password
empty when initializing the client.