Open one of your letters by its id
Code Mode: praxis.organization.notifications.letters.retrieve
HTTP: GET /organization/v1/notifications/letters/{id}
One letter from your own mailbox in this organization, by id, as the notification center lists it: the same row the letters list gives, the same fields, the same copy written for you — and the organization the letter belongs to beside them. A link that arrives carrying an org can therefore check the letter’s own organization instead of trusting the link. The mailbox is the credential’s own, and the request names only the letter. A letter that is not in your mailbox in this organization, is still scheduled, or does not exist answers 404 the same way, without saying which. Nothing is marked read; use the :read action for that. Read-only; no usage charge.
Signature
praxis.organization.notifications.letters.retrieve(args:{path:{/** pattern: ^ltr_[0-9a-f]+$ e.g. "ltr_3f9a1c7e5b2d4a60" */ id:string}}):Promise<{/** The letter's id. */ id:string;/** The sender's display name. */ sender:string;/** One line saying what the letter asks or tells, written for this reader. */ summary:string;/** The whole letter, for the detail view, written for this reader. */ body:string;/** The conversation the letter belongs to; a ticket letter uses ticket:<repository>:<number>. */ thread:(string)|null;/** The letter's kind (ADR-193 §2, #4107). e.g. "mention" */ kind:"notice"|"mention"|"decision"|"event";/** Where the letter came from (a ticket number, a comment, a change); null when the sender gave none. */ source:({[key:string]:unknown})|null;/** Whether this person has read it. */ read:boolean;/** When it arrived; null while still scheduled. */ deliveredAt:(string)|null;/** When it was written. */ createTime:string;/** Why it reached this person, in their words — 「在工单 #4109 的评论里 @ 了你」. */ reason:string;/** Whether this person archived it. */ archived:boolean;/** The organization the letter belongs to: its own. */ organization:({/** The organization's id, from the directory. */ id:string;/** The organization's readable slug (ADR-101), the one a Console link carries as org=. */ slug:string;/** The organization's display name, as a person reads it. */ name:string})|null}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | The letter’s id, from the letters list. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | The letter, as the list would show it. |
| 400 | The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem). | |
| 401 | Missing or invalid credential (RFC 9457 problem). | |
| 404 | No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND`, the same answer for a letter that is not yours, is still scheduled, or never existed (RFC 9457 problem). | |
| 502 | The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it. |