Authentication
Authenticating your API Requests
X-API-KEY
Example API Request
import requests
# set your Monolith API key into a variable
api_key = "qucuqwqg5q3rve28ehfh" # this is a fake API key
# Set the api key in the header of the request
headers = {
"x-api-key": api_key
}
# Use the appropriate API endpoint for your region
api_url = f"https://monolith-app.monolithforensics.com/api/v1/info"
# Execute the GET request
response = requests.get(api_url, headers=headers)
# print the JSON response to console
print(response.json())Last updated