Authentication
All API endpoints require a Bearer token in theAuthorization header.
Request format
Getting an API key
API keys are issued through the console dashboard at console.courtrules.app. Sign in with your organization account to view and manage your keys. Keys follow the formatcr_live_<organization>_<suffix>.
Example request
Error responses
401 — Missing or malformed header
Returned when theAuthorization header is missing or doesn’t use the Bearer scheme.
403 — Invalid key
Returned when the key is present and well-formed but not recognized.Security notes
- API keys are sensitive credentials. Do not commit them to version control or expose them in client-side code.
- Use environment variables to store keys in your application: