All Monoscope API requests require authentication via a Bearer token in the Authorization header.
Getting Your API Key
- Log in to your Monoscope dashboard
- Go to Settings > API Keys
- Click Create API Key and copy the generated key
<div class=”callout”> <i class=”fa-solid fa-triangle-exclamation”></i> <p>API keys are shown only once. Store your key securely — you cannot retrieve it later.</p> </div>
Using Your Key
Include the key as a Bearer token in every request:
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.monoscope.tech/api/v1/metrics?pid=YOUR_PROJECT_ID
Key Scoping
Each API key is scoped to a single project. To access multiple projects, create a key for each one.
Revoking Keys
Navigate to Settings > API Keys in the dashboard and click Revoke next to the key you want to disable. Revoked keys stop working immediately.