---
title: "List agent emails waiting for a person"
method: GET
path: "/api/v1/approvals"
tags: ["Approvals"]
---

# List agent emails waiting for a person

`GET /api/v1/approvals`

## Request

- Base URL: `https://supermailos.com`
- URL: `https://supermailos.com/api/v1/approvals`
- Auth: HTTP bearer

A person's key: the agent inboxes its person can open, with each email's text. An agent key: its own, status and outcome only.

## Query parameters

- `inbox` string
- `status` 'pending' | 'approved' | 'rejected' | 'sent' | 'failed' | 'expired'
- `limit` integer

## Response `200`

Approvals.

- object
  - `approvals` AgentApproval[], required
    - `id` string, required
    - `inboxId` string, required
    - `kind` 'send' | 'reply', required
    - `threadId` string, nullable
    - `from` string, email, required
    - `to` string, required
    - `cc` string, required
    - `bcc` string: People's keys only.
    - `subject` string, required
    - `text` string: The body the agent wrote (people's keys only).
    - `html` string: Its HTML version, when it wrote one (people's keys only): what most mail apps show.
    - `reasons` string[], required
    - `status` 'pending' | 'approved' | 'rejected' | 'sent' | 'failed' | 'expired', required
    - `createdAt` string, date-time, required
    - `expiresAt` string, date-time, required
    - `decidedAt` string, date-time
    - `decisionNote` string: What the person said when deciding.
    - `result` object: Once sent: `{ messageId, threadId, mailboxId }`. Once failed: `{ error, code }`.

## Other responses

- `400`: The request is malformed.
- `401`: Missing, invalid or revoked API key.
- `403`: The key lacks the scope (`missing_scope`) or the access (`forbidden`).
- `404`: Not found — or not reachable with this key.
- `429`: Too many requests.

---

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