Overview
The EmitKit API provides a simple, RESTful interface for monitoring critical product moments and sending real-time alerts. Base URL:https://api.emitkit.com
Authentication
All API requests require authentication using a Bearer token in theAuthorization header:
Keep in mind that API keys are scoped to organizations and projects.
Rate Limiting
- Default: 100 requests per minute per API key
- Rate limit information is returned in response headers:
X-RateLimit-Limit: Maximum requests allowedX-RateLimit-Remaining: Remaining requests in current windowX-RateLimit-Reset: Unix timestamp when limit resets
429 Too Many Requests response.
Idempotency
To safely retry requests without creating duplicates, include anIdempotency-Key header:
- Idempotency keys are valid for 24 hours
- Replayed requests return the original response with an
X-Idempotent-Replay: trueheader - Use this for webhooks, payment processing, or any operation you want to make retry-safe
Request IDs
Every response includes arequestId field for debugging and support purposes:
Response Format
All successful responses follow this format:Error Handling
HTTP Status Codes
200- Success (identify endpoint)201- Created (event created)400- Bad Request (validation error)401- Unauthorized (missing or invalid API key)429- Too Many Requests (rate limit exceeded)500- Internal Server Error
Validation Errors
When your request fails validation, you’ll receive a400 response with details:
Endpoints
Events
POST /v1/events
Create a new event and optionally send notifications
Identity
POST /v1/identify
Create or update user identity with properties and aliases
Meta
GET /openapi.json
Get the OpenAPI 3.1 specification
SDKs
We provide official SDKs for easy integration:TypeScript/JavaScript
Official SDK with full type safety
cURL Examples
Direct HTTP requests for any languageSee code examples on each endpoint