Authentication
All API requests require a Bearer token in the Authorization header:Getting Started
To use the Handled Returns API, you’ll need:- Account ID - Your unique Handled account identifier
- API Token - Your secret authentication token
Request Headers
Include these headers with every API request:Example Request
Token Security
- Keep your API token secure and never expose it in client-side code
- Rotate tokens regularly
- Use environment variables to store tokens in your applications
- Never commit tokens to version control
Rate Limiting
API requests are subject to rate limiting:- Returns endpoints: 1000 requests per hour
- Storefront endpoints: 100 requests per minute per IP
- Webhook endpoints: 10,000 requests per hour
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset
