The Charley API is a RESTful HTTP API that powers the dashboard. You can use it to build custom integrations, automate device management, or pull analytics into your own systems.Documentation Index
Fetch the complete documentation index at: https://docs.charlemagnelabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
/api.
Authentication
The API uses Bearer token authentication with Auth0-issued JWTs.Tokens are short-lived (typically 24 hours). Your application should handle token refresh automatically.
Response Format
All responses return JSON. Successful responses return a 2xx status code. Error responses include amessage field:
Common Status Codes
| Code | Meaning |
|---|---|
200 | OK |
201 | Created |
204 | No Content (successful delete) |
400 | Bad Request — check your request body |
401 | Unauthorized — missing or invalid token |
403 | Forbidden — insufficient role |
404 | Not Found |
500 | Internal Server Error |