Authentication
All API requests require authentication via an API key. Keys are scoped to your account and can be managed from your dashboard.Creating an API Key
From the Dashboard
- Go to Settings → API Keys
- Click Create New Key
- Give it a name (e.g., “Production”, “Development”)
- Copy the key immediately — it won’t be shown again
Via API
Using Your API Key
Include your API key in theAuthorization header:
Key Format
Keys follow this format:gm_— Garmint prefixlive_— Environment (live for production)<hex>— Unique identifier
Key Security Best Practices
Store keys securely
Store keys securely
Use environment variables or a secrets manager. Never commit keys to git.
Use separate keys per environment
Use separate keys per environment
Create different keys for development, staging, and production. This lets you rotate keys independently.
Set expiration dates
Set expiration dates
When creating keys, consider setting an expiration:
Revoke compromised keys immediately
Revoke compromised keys immediately
If a key is exposed, revoke it from the dashboard or via API:
Managing Keys
List All Keys
Revoke a Key
Error Responses
Invalid or Missing Key
401 Unauthorized
Revoked Key
401 Unauthorized
Expired Key
401 Unauthorized