API Keys
API keys provide programmatic access to the Orderly API. Each key is scoped to specific permissions.
Creating a Key
- Go to Settings > API Keys
- Click Create API Key
- Name your key (e.g., “Production Integration”)
- Select the scopes this key needs
- Click Create
- Copy the key — it won’t be shown again
Using a Key
Include the key in the Authorization header:
curl -H "Authorization: Bearer ord_sk_..." https://api.orderly.dev/api/ordersAvailable Scopes
Orders
orders:readView orders and order detailsorders:writeCreate and update ordersShipments
shipments:readView shipments and tracking infoshipments:writeCreate and update shipmentsBridges
bridges:readView bridge configurationsbridges:writeCreate, update, and delete bridgesTransformations
transformations:readView data transformationstransformations:writeCreate and update transformationsWebhooks
webhooks:manageConfigure webhook endpointsCarrier Accounts
carrier-accounts:readView carrier account detailscarrier-accounts:writeManage carrier accountsRates
rates:readFetch shipping ratesPickups
pickups:readView scheduled pickupspickups:writeSchedule and cancel pickupsDispatchers
dispatchers:readView dispatcher rulesdispatchers:writeCreate and update dispatchersOperations
operations:readView operations and itemsoperations:writeCreate and update operationsoperations:executeExecute operations and apply actionsInsights
insights:readView dashboard analytics and reportsinsights:writeConfigure insight settingsAgent
agent:readView agent conversations and memoryagent:writeSend messages to the AI agentagent:adminManage agent settings and standing ordersEmbed
embed:manageManage embed access codes and configKey Management
GET /api/api-keys # List keys (without secret values)
POST /api/api-keys # Create a key
DELETE /api/api-keys/:id # Revoke a keySecurity Best Practices
- Use the minimum scopes necessary
- Rotate keys regularly
- Never commit keys to version control
- Use environment variables for key storage
- Create separate keys for different environments (dev, staging, prod)