API Keys
Manage API Keys
Quick Start
Use your API key to authenticate requests to the Targon API.
Example Request
curl -X GET \
"https://api.targon.com/tha/v3/orgs/your-org-slug/workloads?type=RENTAL" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
Security Best Practices
Never share your API keys in public repositories or client-side code
Use environment variables to store API keys in your applications
Rotate your keys regularly and delete unused ones
Use scoped keys with minimal permissions for each use case
If you suspect a key has been compromised, create a new one and delete the old one.