Skip to main content

Base URL

All API requests should be made to:
https://app.outlit.ai/api/i/v1

Authentication

The Ingest API uses your public key in the URL path. No additional authentication headers are required for ingestion.
POST /api/i/v1/{publicKey}/events
Your public key is not secret and is safe to include in client-side code. It’s designed to be visible in your website’s source code.

Rate Limits

LimitValue
Requests per second100
Events per request100
Request body size1 MB
Rate limit headers are included in responses:
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1699999999

Error Responses

All error responses follow this format:
{
  "success": false,
  "message": "Error description",
  "errors": [
    {
      "path": ["events", 0, "type"],
      "message": "Invalid event type"
    }
  ]
}

HTTP Status Codes

CodeDescription
200Success
400Invalid request body or parameters
403Invalid public key or unauthorized domain
429Rate limit exceeded
500Internal server error

CORS

The API supports CORS for browser requests. Allowed origins are configured in your tracking settings (Settings → Website Tracking → Enabled Domains).
Access-Control-Allow-Origin: https://your-domain.com
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type

Available Endpoints

POST /events

Send tracking events (pageviews, custom events, identify, engagement, calendar, and stage events)