Basic Authentication with API Keys
Guide to using API keys for basic authentication requests
Steps for Basic Authentication
1
Convert the API Key into a Base64 Encoded String
To authenticate using Basic Auth, you need to convert your API key into a Base64 encoded string.
Here’s how you can do it:
- Take your API key (e.g.,
stackone-ats-key
). - Convert the API key into a Base64 string.
Example in Python:
2
Using the Base64 Encoded API Key for API Requests
Now, you can use the Base64 encoded API key to authenticate API requests.
For example, to call the GET /accounts endpoint:
Header:
This way, you can use API keys for basic authentication requests, ensuring secure and authenticated access to StackOne API endpoints.
Was this page helpful?