Authentication
Exchange client_id and client_secret at POST /v1/oauth/token, then send Authorization: Bearer <access_token>. Tokens authorize only the key's brand. Foreign resource IDs return 404; a dashboard session is not an API token.
Manage keys
A brand admin can create, rename, scope, rotate and revoke up to five active keys in Dashboard → Settings → Developer. Use one key per integration. The client_secret starts with dv_live_, is shown once, and cannot be recovered. Rotate a lost secret. On rotation, the previous secret works for 24 hours; tokens minted from it may expire sooner than 60 minutes as that grace period ends. Revocation stops the key and its existing tokens immediately.
Choose scopes
| Scope | Grants |
|---|---|
orders:read | Read orders, shipments, manifests, warehouses, NDRs and jobs. |
orders:write | Create and edit orders and warehouses. |
shipments:write | Book, label, cancel, return and pick up shipments; act on NDRs. |
tracking:read | Read tracking events. |
rates:read | Quote rates and check serviceability. |
wallet:read | Read the wallet balance, wallet transactions and COD remittances. |
webhooks:manage | Manage webhook endpoints and their deliveries. |
couriers:read | Discover active couriers available to your brand. |
allocation:read | Read allocation configuration and supported condition fields. |
allocation:write | Replace allocation strategy, percentage distribution and override rules. |
automation:read | Read auto-allocation configuration and selected warehouses. |
automation:write | Change auto-allocation and its selected warehouses. |
preferences:read | Read published label, invoice and tracking preferences. |
preferences:write | Replace published label, invoice and tracking preferences. |
analytics:read | Read approved analytics datasets; COD also requires wallet:read and billing/stored freight also requires billing:read. |
billing:read | Read approved billing and stored freight information. |
tickets:read | Read the brand's support tickets, their messages and ticket categories. |
tickets:write | Raise, update, close and reply to support tickets, with attachments. Does not include tickets:read. |
rate_cards:read | Read the brand's rate card: zones, weight slabs, COD and value-added terms. rates:read alone is not enough. |
communications:read | Read customer messages with their delivery state, and the support requests the bot raised with their decision trail. |
communications:write | Approve or reject a customer-confirmed support request. Does not include communications:read. |
skus:read | List and read SKU definitions and bulk templates. |
skus:write | Create and update SKUs, combo definitions and package mappings, including bulk operations. |
catalog:read | Read catalog products, variants, duplicates, codes, package suggestions and sync status through MCP. |
catalog:write | Update catalog variants, merge or unlink products, confirm codes and start catalog sync through MCP. |
packages:read | Read and export packages, recommend packing and quote couriers through MCP. |
packages:write | Create and update packages, bulk-create packages and find or create packages through MCP. |
Default/legacy keys keep the original seven operational scopes, ending at webhooks:manage. They do not acquire courier or settings grants when renamed or rotated. Enable Restrict this key to choose Tracking only, Read only or Custom. Read only grants the eight operational/settings read scopes; analytics, billing, tickets, communications and rate cards require Custom selection. Selecting a settings Write grant also selects its Read grant in the dashboard.
Each operation lists the grants it requires. Missing permission returns 403 insufficient-scope, with the missing scope in detail and WWW-Authenticate. Grant only the capabilities the integration needs.
SKU, catalog, package, ticket and rate card grants are opt-in and do not expand existing keys or tokens. Package recommendations also require skus:read; package courier quotes also require rates:read.