API Keys
OrderMonk uses API keys for authentication. Every request must include a valid API key in theAuthorization header.
Generating an API Key
Create a new key
Click Generate New Key and configure:
- Key name — A descriptive label (e.g., “Production”, “Staging”, “Webhook Server”)
- Permissions — Choose the scopes this key can access
- Expiration — Optional expiration date
Using Your API Key
Include the API key in theAuthorization header of every request:
Key Prefixes
| Prefix | Environment |
|---|---|
om_live_ | Production |
om_test_ | Sandbox/Testing |
Use test keys during development. Test keys access sandbox data and don’t affect your live inventory or orders.
Permission Scopes
When creating an API key, you can restrict its access:| Scope | Access |
|---|---|
products:read | View products and catalog data |
products:write | Create, update, delete products |
inventory:read | View inventory levels |
inventory:write | Update inventory levels |
orders:read | View orders |
keywords:read | View keyword data and suggestions |
keywords:write | Act on keyword suggestions |
analytics:read | View reports and analytics |
Revoking Keys
To revoke an API key:- Go to Settings → API
- Find the key in your key list
- Click Revoke
401 Unauthorized response.
Security Best Practices
- Never commit API keys to version control
- Use environment variables to store keys in your applications
- Rotate keys periodically — generate new keys and revoke old ones
- Use separate keys for production and development
- Monitor usage — check API key activity in Settings → API → Usage

