Skip to Content
DevelopersQuickstart

Quickstart

Public

Send your first event to Active Reach in under five minutes. Pick your language, copy the snippet, swap in your write key.

Get a write key

  1. Open platform.active-reach.ai  and sign in.
  2. Go to Settings → Developer → SDK Keys.
  3. Copy the value that starts with sdk_write_... — this is your write key.

Write keys are safe to embed in client-side code (browsers, mobile apps). Never use a read key or a full API key from a browser.

Send an event

The gateway ingests events at POST /v1/batch with the X-Aegis-Write-Key header. The body wraps events in a batch array with the SDK envelope (writeKey + sentAt).

curl -X POST https://ingest.active-reach.ai/v1/batch \ -H "Content-Type: application/json" \ -H "X-Aegis-Write-Key: sdk_write_YOUR_KEY" \ -d '{ "writeKey": "sdk_write_YOUR_KEY", "sentAt": "2026-05-27T10:30:01.000Z", "batch": [{ "type": "track", "event": "order_completed", "messageId": "msg_demo_1", "timestamp": "2026-05-27T10:30:00.000Z", "anonymousId": "anon_demo", "userId": "user_123", "sessionId": "sess_demo", "properties": { "amount": 4999, "currency": "INR" } }] }'

Verify it landed

Open Settings → Live Events in your workspace. Within a second or two you’ll see the order_completed event appear in the live feed.

What’s next