API Key Management
Overview
'/change_key' endpoint allows you to programatically change api key with your secret token.
Key Features:
- POST request
- Allows programatically changing api key
- Free but rate limit applies
Endpoint
https://api.insightsentry.com/v1/change_key
POST request
Include secret token in the body of the request:
<your secret token>
POST request
Include secret token in the body of the request:
<your secret token>
Response Data
{
"new_key": "<your new api key>"
}
Code Examples
import requests
url = "https://api.insightsentry.com/v1/change_key"
data = <your secret token>
response = requests.post(url, headers=headers, json=data)
print(response.text)