error field and an appropriate HTTP status code.
Status codes
| Status | Meaning | Common causes |
|---|---|---|
400 | Bad request | Malformed JSON, missing required fields |
401 | Unauthorized | Missing or expired Bearer token, token not a valid JWT |
403 | Forbidden | Invalid API key, API key disabled/expired, token issued for a different client, missing billreview:write scope |
413 | Payload too large | Request body exceeds 10 MB |
500 | Server error | Unexpected processing error. Contact support with the x-request-id value |
503 | Service unavailable | Check status.billsentry.net for active incidents |
Every response includes an
x-request-id header. Include this value in any support request. Check billsentry.instatus.com for live API status and incident history.Token expiry (401)
Access tokens expire in approximately 1 hour. When you receive a401:
- Invalidate your cached token
- Fetch a new token from the Token URL
- Retry the original request once