Skip to main content

API Keys

OrderMonk uses API keys for authentication. Every request must include a valid API key in the Authorization header.

Generating an API Key

1

Go to API Settings

Navigate to SettingsAPI in your OrderMonk dashboard.
2

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
3

Copy your key

Your API key will be displayed once. Copy it and store it securely.
API keys are shown only at creation time. If you lose your key, you’ll need to generate a new one.

Using Your API Key

Include the API key in the Authorization header of every request:
curl -X GET https://api.ordermonk.com/v1/products \
  -H "Authorization: Bearer om_live_abc123def456..."

Key Prefixes

PrefixEnvironment
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:
ScopeAccess
products:readView products and catalog data
products:writeCreate, update, delete products
inventory:readView inventory levels
inventory:writeUpdate inventory levels
orders:readView orders
keywords:readView keyword data and suggestions
keywords:writeAct on keyword suggestions
analytics:readView reports and analytics
Follow the principle of least privilege — only grant the scopes your integration actually needs.

Revoking Keys

To revoke an API key:
  1. Go to SettingsAPI
  2. Find the key in your key list
  3. Click Revoke
Revoked keys are immediately invalidated. Any requests using a revoked key will receive a 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 SettingsAPIUsage