GET /api/public/v1/docs and GET /api/public/v1/openapi.yaml — which are publicly accessible without a key.
Key format
All API keys follow the format:nsk_live_ prefix lets you distinguish an API key from other credentials at a glance and makes it straightforward to detect accidental exposure in logs or repositories.
Sending your key
You have two ways to pass the key on each request. Both are equally valid — use whichever fits your HTTP client or SDK more naturally. Option 1 — Authorization header (recommended):401 UNAUTHORIZED response immediately.
How to get an API key
A Now Shipping admin creates API keys through the dashboard: Admin → Business details → API Access.Verify your key with /ping
UseGET /ping to confirm your key is valid, inspect which scopes are attached, and verify the account identity your integration is operating under.
200 response looks like this:
X-Merchant-Id header on the /ping request, the response also contains an activeMerchant object showing the resolved merchant sub-account — useful for debugging merchant ID resolution during development.
Authentication errors
Revoked keys return
401 regardless of which endpoint you call. If you receive 403 ACCOUNT_REMOVED, contact your Now Shipping account manager — the underlying business account needs to be reinstated before any key from that account will work again.
API key scopes
Each key is issued with a set of scopes that control which endpoint groups it can reach:
The endpoints
/ping, /delivery-zones, /fees/calculate, /docs, and /openapi.yaml require no scope — only a valid key (except docs/spec which need no key at all).
New keys default to all three scopes: ["orders", "pickups", "merchants"]. A missing scope returns 403 SCOPE_DENIED. See API Key Scopes for the full scope reference and backward-compatibility rules.
