Getting Started
Send Your First Event
Validate your integration by sending and querying an audit event.
1) Create An API Key
Create an API key in the HyreLog dashboard for your target workspace.
2) Send A Test Event
curl -X POST "https://api.hyrelog.com/v1/events" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"category": "auth",
"action": "user.login",
"actor": { "id": "user_123", "email": "user@example.com" },
"metadata": { "source": "quickstart" }
}'Expected: 201 with an event id.
3) Query Events
curl "https://api.hyrelog.com/v1/events?limit=10" \
-H "Authorization: Bearer YOUR_API_KEY"Expected: 200 with data and nextCursor.
4) Optional Health Check
curl "https://api.hyrelog.com/health"Expected: 200 with { "ok": true }.