---
title: "Record what actually happened"
method: POST
path: "/v1/label"
tags: ["Scoring"]
---

# Record what actually happened

`POST /v1/label`

## Request

- Base URL: `https://api.kaidn.io`
- URL: `https://api.kaidn.io/v1/label`
- Auth: API key in header `x-api-key`

The feedback loop. Tell Kaidn whether an event you scored turned out to be fraud or legitimate, so accuracy can be measured against real outcomes.

## Request body

- object
  - `label` 'fraud' | 'chargeback' | 'legit', required
  - `event_id` string
  - `entities` object
    - `ip` string, ip
    - `email` string, email
    - `device_id` string
  - `note` string

## Response `200`

Success. Field-level shape for this endpoint is documented at https://kaidn.io/docs.

- object: Success. Field-level shape for this endpoint is documented at https://kaidn.io/docs.

## Other responses

- `400`: The request body or query string failed validation.
- `401`: Missing or invalid API key.
- `429`: Rate limit exceeded. Back off and retry.

---

[API](https://skmtc.dev/kaidn/apis/kaidn-api.md) · [All operations](https://skmtc.dev/kaidn/apis/kaidn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kaidn/apis/kaidn-api/revisions/6f0706942d0e?raw)
