Skip to main content

Overview

The analytics events endpoint lets demand-side SDK clients send Hub behavioral events for a listing. Events are used to populate analytics dashboards and drive tier-gated metrics. The endpoint uses API key authentication via the X-Hub-API-Key header — distinct from the Authorization: Bearer pattern used by other Hub endpoints. Base URL: https://ezforge.ai

Ingest analytics event

Records a single Hub analytics event for a listing. Accepts all five Hub event types. Returns 202 Accepted immediately after validation — the database write is asynchronous (fire-and-forget). Authentication: X-Hub-API-Key: hub_live_… header required. Obtain a key at POST /api/v1/hub/api-keys.

Request headers

Request body

Event types

The interaction event type maps to referral_clicks in the analytics query response. This is the referral-link click signal in the Hub event taxonomy.

Response

202 Accepted — No response body. The event has been accepted for async recording.

Error responses

Example 401 response:
Example 429 response:

Daily rate limits by tier

The daily limit applied to a 429 response is determined by the tier of the Hub API key used: Rate limit counters reset at UTC midnight. To manage or rotate keys, see API Keys.

SDK example