API reference

Base URL: https://nimetric.com

Ingest

Send analytics events from your app/backend.

POST /api/ingest
Authorization: Bearer <WRITE_KEY>
Content-Type: application/json

{
  "events": [{ "eventName": "session_started", "userId": "u_123", "sessionId": "s_1" }]
}

Main endpoints

  • GET /api/projects
  • GET/PATCH /api/integrations/digest
  • POST /api/integrations/digest/send-now
  • POST /api/auth/verify-email/request
  • GET /api/admin/metrics/timeseries?projectId=&metric=&range=

Next step

Use Troubleshooting if your API calls succeed but charts still look empty or inconsistent.