---
title: "List mailbox grants"
method: GET
path: "/v1/mailboxes/{id}/grants"
tags: ["Mailboxes"]
---

# List mailbox grants

`GET /v1/mailboxes/{id}/grants`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/mailboxes/{id}/grants`
- Auth: API key in header `x-api-key`

Returns who can use the mailbox, what each grant allows, and whether its sends wait for approval, newest first. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.

## Path parameters

- `id` string, required

## Query parameters

- `limit` string, nullable
- `cursor` string

## Response `200`

MailboxGrantPage

- MailboxGrantPage
  - `items` MailboxGrant[], required
    - `id` string, required
    - `actor` object, required
      - `kind` 'user' | 'apiKey' | 'extension' | 'externalAgent' | 'samvaAgent' | 'system', required
      - `id` string, required
      - `displayName` string, nullable
    - `permissions` string[], required
    - `sendMode` 'send' | 'approval', required: How the grantee's sends execute: `send` runs them within account limits; `approval` holds each one until a different member approves it.
    - `createdAt` string, required
  - `nextCursor` string, nullable, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `404`: ResourceNotFoundError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

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