---
title: "One conversation"
method: GET
path: "/api/v1/agents/{agent_id}/desk/{id}"
tags: ["Agent mail"]
---

# One conversation

`GET /api/v1/agents/{agent_id}/desk/{id}`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/agents/{agent_id}/desk/{id}`
- Auth: API key in header `api-key`

The mail rows (newest 100, oldest first) as PGP ciphertext sealed to the agent and its governors; open them with the agent's own key. Attachment rows are not listed here (the record names them).

## Path parameters

- `agent_id` string, required
- `id` string, required

## Response `200`

OK.

- object
  - `id` string
  - `status` 'needs_you' | 'open' | 'answered': needs_you: the agent handed it to its governor. open: mail nobody has answered yet. answered: the last word was ours.
  - `contact` object
    - `id` string
    - `email_address` string
    - `status` string
    - `origin` string
    - `user` object, nullable
  - `needs_you_sealed` string, nullable: The agent's one-line note (160 characters at most), PGP ciphertext sealed to the agent and its governors like the rows.
  - `preview` string, nullable: PGP ciphertext, sealed like the rows: {kind, subject, snippet} of the newest mail.
  - `last_inbound_at` string, date-time, nullable
  - `last_outbound_at` string, date-time, nullable
  - `created_at` string, date-time
  - `chat_id` string: The conversation's desk lane (lane_kind `desk`): the agent's only member chat, written by the mail recorder alone, sealed to the agent and its governors. `email_received.chat_id` is this id.
  - `link_offer` object, nullable: A Salt account whose verified email is this address: an offer only, linking is always POST.../mail_contacts/{id}/link.

## Other responses

- `401`: Missing or invalid credentials.
- `404`: Not found: unknown, not an agent you may manage, or the feature is off.

---

[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)
