Authentication
The Monk API uses API keys to authenticate requests. You can create and manage API keys from your Settings page.Environments
Monk runs production and sandbox as separate instances with separate accounts and API keys.API Key Format
API keys follow this format:Making Authenticated Requests
Include your API key in theAuthorization header as a Bearer token:
Scopes
API keys can be limited to the operations an integration needs:Error Responses
Missing or Invalid Authorization
Invalid, Revoked, or Expired API Key
Insufficient Permissions
Rate Limiting
The Monk API applies rate limits per IP address. When a client exceeds a limit, the API returns429 Too Many Requests:
Best Practices
Store keys securely
Store keys securely
Use environment variables or a secrets manager. Never commit API keys to
version control.
Use minimal scopes
Use minimal scopes
Grant only the scopes required for an integration’s work.
Rotate keys regularly
Rotate keys regularly
Revoke old keys and create replacements, especially if you suspect a key may
have been compromised.
Review key activity
Review key activity
Check the Last Used timestamp in Settings to identify unused or suspicious
keys.