---
title: "Api Create History"
method: POST
path: "/api/leads/{lead_id}/history"
tags: ["Leads - Admin"]
---

# Api Create History

`POST /api/leads/{lead_id}/history`

Text-only observation (legacy JSON shape).

Kept byte-compatible with the pre-#923 frontend so an old bundle keeps
working across the BE->FE deploy gap. New clients POST /observations, which
also carries images. Prefer that one.

⛔ Do NOT bind app.models.models.HistoryCreate here: it declares a required
`user_id` that no caller sends, so it would 422 every save.

## Path parameters

- `lead_id` integer, required

## Headers

- `x-api-token` string, nullable

## Request body

- object

## Response `200`

Successful Response

- integer

## Other responses

- `422` — Validation Error

---

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