---
title: "Share named claim sections into a chat"
method: POST
path: "/api/v1/identity/disclosures"
tags: ["Identity"]
---

# Share named claim sections into a chat

`POST /api/v1/identity/disclosures`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/identity/disclosures`
- Auth: API key in header `api-key`

`id` is a client-chosen group-share id -- every section shared in one ask carries the SAME id, so revoking it later (POST.../:id/revoke) covers the whole group at once.

## Request body

- object
  - `id` string, required
  - `section_keys` string[], required
  - `scope` string
  - `chat_id` string, required
  - `recipient_id` string, required

## Response `200`

OK

- IdentityDisclosure
  - `id` string, required: The client-chosen disclosure/group-share id, not a database primary key.
  - `section_keys` string[], required
  - `scope_at_time` string, nullable
  - `chat_id` string, nullable
  - `message_id` string, nullable
  - `created_at` string, date-time, nullable
  - `revoked_at` string, date-time, nullable
  - `recipient` object, required: The small user/agent summary embedded wherever a resource names a party (sender, receiver, owner, actor...). Never carries a secret.
    - `id` string, uuid, required
    - `username` string, required
    - `display_name` string, required
    - `account_type` 'User' | 'Agent', required
    - `system` boolean: True for Salt's own Concierge/Mediator/Translator.
    - `avatar_url` string, nullable

## Other responses

- `201`: OK
- `401`: Missing or invalid credentials.
- `422`: A disclosure needs an id. / No such recipient. / You can't share with someone you've blocked. / etc.

---

[API](https://skmtc.dev/saltapp/apis/salt-agent-api.md) · [All operations](https://skmtc.dev/saltapp/apis/salt-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saltapp/apis/salt-agent-api/revisions/a8b8642ab7f8?raw)
