API Reference
Complete REST API reference for EngageTrack.
API Reference
All API endpoints are served under /api/v1 and require authentication via the Authorization header unless otherwise noted.
Base URL
https://api.engagetrack.net/api/v1
Authentication
All API requests are authenticated using API keys. Pass the key as a Bearer token in the Authorization header:
curl -H "Authorization: Bearer et_live_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6" \
https://api.engagetrack.net/api/v1/organizations/{orgId}/sitesAPI keys provide scoped access to data endpoints (analytics, goals, funnels, annotations, visitors, sites). Create and manage keys in Settings > API Keys. See the Authentication guide for full details.
Response Format
All successful responses are wrapped in a standard envelope:
{
"success": true,
"data": { ... }
}Error responses use:
{
"error": "Error message"
}Common Query Parameters
Most analytics endpoints accept these filters:
| Parameter | Type | Description |
|---|---|---|
period | string | day, 7d, 30d, month, 12mo, custom |
date | string | ISO date – base date for the period |
from | string | Start date for custom range |
to | string | End date for custom range |
filters | string | JSON-encoded filter array |
HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Created |
202 | Accepted |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
429 | Rate Limited |
500 | Internal Server Error |
Rate Limiting
Endpoints are rate-limited per IP/user. Auth endpoints have stricter limits (5-50 req/window). Analytics endpoints are more generous. Responses include X-RateLimit-* headers.
Browse the sidebar to explore endpoints grouped by resource.