Complete reference for the EnGarde REST API
All API requests require authentication using an OAuth 2.0 access token. Include the token in the Authorization header:
/analytics/conversations
Retrieve conversational analytics logs for the authenticated tenant.
| Parameter | Type | Description |
|---|---|---|
| session_id | string | Filter by session ID (optional) |
| limit | integer | Max results (default: 50, max: 100) |
| offset | integer | Pagination offset (default: 0) |
curl -X GET "https://api.engardehq.com/v1/analytics/conversations?limit=10" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
/users
Retrieve user data for the authenticated tenant.
| Parameter | Type | Description |
|---|---|---|
| string | Filter by email address (optional) | |
| limit | integer | Max results (default: 50, max: 100) |
curl -X GET "https://api.engardehq.com/v1/users" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
/metrics/usage
Retrieve usage metrics and analytics for the authenticated tenant.
| Parameter | Type | Description |
|---|---|---|
| start_date | string | ISO 8601 date (required) |
| end_date | string | ISO 8601 date (required) |
| granularity | string | day | week | month (default: day) |
curl -X GET "https://api.engardehq.com/v1/metrics/usage?start_date=2026-07-01&end_date=2026-07-19" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
/oauth/clients/:client_id
Retrieve information about an OAuth client.
curl -X GET "https://api.engardehq.com/v1/oauth/clients/YOUR_CLIENT_ID" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
The API uses standard HTTP status codes and returns errors in JSON format:
{
"error": {
"code": "unauthorized",
"message": "Invalid or expired access token"
}
}| Status Code | Description |
|---|---|
| 200 | Request successful |
| 401 | Unauthorized - invalid or missing access token |
| 403 | Forbidden - insufficient permissions |
| 404 | Resource not found |
| 429 | Too many requests - rate limit exceeded |
| 500 | Internal server error |
API requests are rate limited to 1000 requests per hour per access token. Rate limit information is included in response headers:
X-RateLimit-Limit: 1000 X-RateLimit-Remaining: 950 X-RateLimit-Reset: 1720123456