Overview
The Create Private Location Key endpoint generates a new API key for a specific private location. Use these keys to authenticate monitoring agents and enable secure communication with Checkly. Common Use Cases:- Agent Deployment
- Key Rotation
- Security Updates
- New Agent Setup
Store API keys securely and never expose them in logs or public repositories. Keys provide full access to report check results for the private location.
New API keys are active immediately. Use them to configure monitoring agents and ensure secure communication with Checkly services.
Authorizations
The Checkly Public API uses API keys to authenticate requests. You can get the API Key here.
Your API key is like a password: keep it secure!
Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.
For example, set Authorization header while using cURL:
curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"
Headers
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general