Send Events
Send events to Chippy Analytics to track user actions, app behavior, and custom metrics. Choose the endpoint that best fits your integration pattern.POST /api/v1/events: Single Event
Send one event at a time. Best for real-time tracking where you want to fire an event immediately after a user action occurs.Request Body
Example Request
Response
202 AcceptedError Responses
400 Bad Request: missing required fields:POST /api/v1/events/batch: Batch Events
Send up to 100 events in a single request. Best for high-volume ingestion where you buffer events and flush them periodically.Request Body
Example Request
Response
202 AcceptedThe
count field confirms how many events were accepted from the batch. If any individual event is malformed, the entire batch is rejected with a 400 error.Error Responses
400 Bad Request: batch exceeds maximum size:POST /api/v1/events/track: SDK-Friendly Format
A flexible endpoint designed for SDK integrations. Accepts both camelCase and snake_case field names, and can receive a single event or an array of events.Field Mapping
The track endpoint accepts alternate field names for convenience:Example Request (Single Event)
Response
202 AcceptedChoosing the Right Endpoint
For most server-side integrations, start with the single event endpoint. Switch to batch when you are sending more than a few events per second and want to reduce HTTP overhead.
