A scoped API key is a credential that grants access to only the specific data and actions an integration actually needs, instead of handing over full read and write access to everything in the system. In Shipider, keys are scoped by resource and action (for example orders:read, skus:read, or pallets:write), and every key is bound to your company account, which can span several warehouse sites or, for a 3PL, several separate customer inventories. Scoping matters because an unscoped key is effectively a master key. It can read or write data that has nothing to do with the integration you built it for.
This article is a deeper look at one specific practice inside a bigger topic. If you want the full picture of how Shipider connects to the rest of your stack through webhooks and the API, start with wiring your warehouse into your stack with webhooks and the API. This piece is for the developer or technical operations lead who already knows they need an integration and wants to build it without creating a security hole.
Why unscoped API keys are a warehouse-specific risk
In most software categories, an overly broad API key is a bad practice you can quietly fix later. In a warehouse system it is riskier, because the data behind that key is not abstract. It is stock counts, pallet locations, order status, and for 3PLs, the inventory of customers who are not even aware the integration exists.
Think about what a single API key typically touches in a WMS: inbound orders, pallet locations, outbound orders, dispatch records, and inventory levels across every warehouse location tied to the account. If that key leaks, whether through a committed config file, a compromised laptop, or a careless third-party app, the blast radius is every site and every customer the key can reach. For a 3PL running several brands under one roof, that is not a hypothetical. It is the difference between one client's shipment data being exposed and every client's data being exposed at once.
Scoping is the practical answer. It does not prevent every incident, but it shrinks what any single leaked credential can actually do.
What scoping looks like inside a multi-tenant warehouse system
Scoping a key generally means answering three questions before you generate it: which resources does this key need (orders, SKUs, pallets, locations, warehouses, customers, manifests, reports), which actions (read, write, or both) does it need on each, and which sites or clients will the integration actually work with. A key built for a reporting dashboard should probably be read-only. A key built to create orders from your ERP needs orders:write, but not locations:write or warehouses:write.
Site-level separation
If your operation runs multiple warehouse sites through Shipider's multi-site inventory, an integration built for one site's outbound flow ideally should not touch stock at a different site across town. Shipider's keys are scoped by resource and action rather than by site, so site-level separation is enforced in the integration itself: it should filter by warehouse and only act on the site it was built for, which keeps a failure contained.
Read versus write scopes
Not every integration needs to write data back into the warehouse. A business intelligence tool pulling inventory accuracy numbers, for example, only needs read access. A purchase order automation tool that creates inbound orders needs orders:write, but not write access to locations, warehouses, or customers. Separating read and write scopes means a compromised reporting integration cannot suddenly start creating or altering warehouse records.
Tenant isolation and client data for 3PLs
Shipider's multi-tenant isolation is structural at the company level: a key issued in your account can never reach another company's data. Inside your account, each 3PL client is a customer record, and keys are not limited to a single customer, so a key with skus:read can read every client's SKUs. If you are building a client-facing integration, such as a customer portal that shows their own stock levels, keep the key on your server, give it read scopes only, and filter every response to that client's customer record before it reaches the portal, so a bug in that portal cannot become a data leak for every other client.
| Scope type | What it typically grants | Example integration |
|---|---|---|
| Read-only reporting | orders:read, skus:read, pallets:read, locations:read, reports:read | A BI dashboard pulling stock levels, filtered to the sites it reports on |
| Inbound automation | orders:write plus skus:read | Purchase order automation creating inbound orders with expected SKUs |
| Order sync | orders:read and orders:write | ERP or e-commerce platform creating orders and reading fulfillment status |
| Client portal feed | Read scopes only, with results filtered by customer on your server | 3PL client portal showing that client's own inventory only |
| Full account access | Read and write on every resource | Rarely appropriate; reserved for internal admin tooling only |
Each key also has a label, can be deactivated at any time, can carry an expiry date, and records when it was last used. Check the API docs for the current list of scopes before you build.
Scoped keys and the audit trail work together
One thing that sets a scoped key apart from a shared username-and-password integration is that changes made through the API land in the same records as changes made in the app. If an integration creates an inbound order or updates a pallet, that change shows up in the order history, pallet location history, and stock movements like any other, and the key itself records when it was last used.
This pairing matters more than it sounds. Scoping limits what a key can do. The audit trail tells you what it actually did. If something goes wrong, whether it is a bug in a third-party integration or a genuine security incident, you are not guessing which records changed. You can trace the changed records and their timestamps, and with one key per integration you know which integration had the access to make them. That is a meaningfully different position than trying to reconstruct what happened from application logs scattered across two or three disconnected systems.

A practical checklist before you generate a key
Before wiring up any new integration, it helps to walk through a short list rather than defaulting to the broadest access available out of convenience.
- Identify exactly which resources and which warehouse sites the integration needs to touch, grant only those scopes, and make the integration filter to those sites.
- Decide whether the integration truly needs write access, or whether read-only will do the job.
- If the integration serves one 3PL client, make sure it filters every result to that client's customer record before sharing anything.
- Name the key something specific to its purpose (for example, "erp-sync-write-orders") so it is identifiable months later when someone is auditing access.
- Set an expiry date or a reminder to rotate or review the key on a schedule, not just when something breaks.
- Revoke keys the moment an integration is retired. An orphaned key with live access is a liability nobody is watching.
Common integration patterns that need scoped keys
A few integration types come up repeatedly for warehouses connecting to Shipider, and each has a natural scope.
ERP sync is one of the most common. As covered in ERP sync without double entry, the goal is usually to push order and inventory events one direction and pull confirmations back, without duplicate data entry. That kind of integration typically needs write access to orders and read access to SKUs and pallets, with the integration limited to the sites the ERP actually manages.
Marketplace or storefront order intake is another. Here, the key generally needs write access to create orders as they come in, but rarely needs access to warehouse configuration or user management. Reporting and BI tools are the simplest case: read-only, and often read-only across a narrower set of fields than the full record.
For 3PLs, client-facing portals are the pattern that most needs careful scoping and filtering, since the whole point of the integration is to show one customer their own data and nothing else. If you are building or evaluating this kind of setup, the broader context in Shipider's 3PL solution covers how multi-tenant isolation and per-client visibility fit together operationally, not just at the API layer.
Where to start
If you are new to Shipider's API, the reference documentation at the API docs is the place to check current endpoints and available scopes before you build. Security practices and data handling details relevant to integrations are also documented at Shipider's security page, which is worth a read alongside this article, particularly if your organization needs to answer vendor security questionnaires before approving an integration.
Scoping is not a one-time setup task. As your integrations multiply, a running inventory of which key does what, and why, becomes part of your operational hygiene the same way warehouse location audits are. Treat API keys the way you treat pallet tracking: assume someone will need to trace an action back to its source eventually, and build so that tracing is easy rather than painful.
Frequently asked questions
What is a scoped API key?
A scoped API key is an API credential limited to a specific set of permitted resources and actions, rather than one that grants full read and write access across an entire system. In Shipider, scopes are set per resource with read or write access, such as orders:read or pallets:write.
Why does API key scoping matter more in a multi-tenant WMS?
Because a multi-tenant system, like the one Shipider uses for 3PLs, can hold inventory data for several separate customers under one account. An unscoped key that leaks or is misused can expose every tenant's data, not just one integration's intended scope.
Multi-tenant isolation is structural in Shipider, meaning company boundaries are enforced at the system level and no key can cross them. Within your own account, keys can read every client's data in the scopes they hold, so client-level separation is up to your integration's filtering.
Does scoping an API key affect the audit trail?
No. Changes made through a scoped API key still land in the same order, pallet, and stock movement records as changes made in the app, and each key records when it was last used, so scoping limits what a key can do while the records still show what changed.
Should a reporting integration have write access?
Generally no. A reporting or dashboard integration that only needs to view inventory or order data should use a read-only scoped key, since write access would be an unnecessary risk with no operational benefit.
How often should scoped API keys be rotated or reviewed?
There is no universal rule, but a reasonable practice is to review active keys on a fixed schedule (for example, quarterly), name them clearly by purpose, and revoke any key tied to an integration that is no longer in use. Shipider lets you set an expiry date on a key, which is a simple way to force that review.
Ready to connect your warehouse without exposing more data than you have to? Create a Shipider account and start building integrations with scoped access from day one.
Related reading: Automating Purchase Order Receiving With API Triggers
Related reading: Warehouse Automation Without Robotics: What Small Teams Can Automate Today

