Documentation Index
Fetch the complete documentation index at: https://docs.kaireonai.com/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/v1/capture
Legacy alias for the Respond API. All requests are forwarded directly toPOST /api/v1/respond with identical behavior. The Capture endpoint exists for backward compatibility.
Rate limit: 500 requests/min.
Request Body
The request body is identical to the Respond API. Key fields:| Field | Type | Required | Description |
|---|---|---|---|
customerId | string | Yes | Customer identifier |
outcome | string | Yes* | Outcome type key (e.g., "impression", "click", "convert") |
interactionType | string | Yes* | Alias for outcome (provide one or the other) |
creativeId | string | Conditional | Creative ID (or provide recommendationId + rank) |
recommendationId | string | Conditional | Recommendation to attribute to (used with rank) |
rank | integer | Conditional | Which offer from the recommendation (1-based) |
offerId | string | No | Offer ID (auto-resolved from creative if omitted) |
channelId | string | No | Channel ID |
idempotencyKey | string | Yes | Required for all outcomes to prevent double-counting |
conversionValue | number | No | Monetary value of the conversion |
context | object | No | Additional context data |
outcomeDetails | object | No | Additional outcome data |
timestamp | string | No | ISO 8601 timestamp (defaults to now) |