Skip to main content

Authentication

All API requests require a Bearer token in the Authorization header.

API key types

Both key types use the same endpoints and return the same response shapes. The only difference is whether real carrier APIs are called and whether your wallet is charged.

Creating API keys

  1. Log in to your Package Retriever dashboard
  2. Open Apps & Tools from your profile menu
  3. Go to the Unleashed tab
  4. Click Create Key
  5. Choose environment (Live or Sandbox) and permissions
  6. Copy the key immediately — it won’t be shown again

Scopes

Each key has permissions (scopes) that control what it can access: If a request requires a scope your key doesn’t have, you’ll receive:

Rate limit headers

Every response includes rate limit information:
The X-Request-Id is unique per request. Include it when contacting support.

Key rotation

To rotate a key without downtime:
  1. Create a new key with the same scopes
  2. Update your application to use the new key
  3. Verify the new key works
  4. Revoke the old key
Keys can be revoked instantly from the dashboard. Revoked keys return AUTH.KEY.REVOKED immediately.