---
title: "Set Lead Note"
method: POST
path: "/api/app-auto-gtm/segments/{segment_id}/leads/{lead_id}/note"
tags: ["AppAutoGtm"]
---

# Set Lead Note

`POST /api/app-auto-gtm/segments/{segment_id}/leads/{lead_id}/note`

Set (or clear, with ``note: null`` / empty) a lead's shared note.

``lead_id`` is the ``AgentLead.id`` UUID — the same identifier the inbox
thread carries as ``person_id``. Last-write-wins; the caller's email is
stamped as ``updated_by`` for the attribution line.

## Path parameters

- `segment_id` integer, required
- `lead_id` string, required

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Request body

- SetLeadNoteRequest
  - `note` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/582ac44d6b1e/schema)
