Documentation Index
Fetch the complete documentation index at: https://packageretriever.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
All API requests require a Bearer token in theAuthorization header.
API key types
| Prefix | Environment | Billing | Labels |
|---|---|---|---|
pr_live_ | Production | Real charges from wallet | Real, mailable labels |
pr_test_ | Sandbox | No charges | Simulated labels (not mailable) |
Creating API keys
- Log in to your Package Retriever dashboard
- Open Apps & Tools from your profile menu
- Go to the Unleashed tab
- Click Create Key
- Choose environment (Live or Sandbox) and permissions
- Copy the key immediately — it won’t be shown again
Scopes
Each key has permissions (scopes) that control what it can access:| Scope | What it gates |
|---|---|
rates:read | Rate shopping |
labels:write | Creating and voiding labels |
labels:read | Viewing labels and downloading PDFs |
tracking:read | Tracking queries |
addresses:read | Address validation |
carrier-accounts:read | Viewing connected carrier accounts |
batches:write | Creating and processing batches |
batches:read | Viewing batch status |
wallet:read | Viewing wallet balance |
Rate limit headers
Every response includes rate limit information:X-Request-Id is unique per request. Include it when contacting support.
Key rotation
To rotate a key without downtime:- Create a new key with the same scopes
- Update your application to use the new key
- Verify the new key works
- Revoke the old key
AUTH.KEY.REVOKED immediately.
