Skip to main content
All errors return JSON with an error field and an appropriate HTTP status code.

Status codes

Every response includes an x-request-id header. Include this value in any support request to support@billsentry.com. Check billsentry.instatus.com for live API status and incident history.

Token expiry (401)

Access tokens expire in approximately 1 hour. When you receive a 401:
  1. Invalidate your cached token
  2. Fetch a new token from the Token URL
  3. Retry the original request once
Do not retry indefinitely on 401. If a second attempt with a fresh token also returns 401, the issue is likely a misconfigured API key or client binding — contact BillSentry support.
For a complete implementation of token caching, proactive refresh, and 401 retry logic, see Token Lifecycle.