---
title: "Update Inbox"
method: PATCH
path: "/v0/inboxes/{inbox_id}"
tags: ["Inboxes"]
---

# Update Inbox

`PATCH /v0/inboxes/{inbox_id}`

**CLI:**
```bash
agentmail inboxes update --inbox-id <inbox_id> --display-name "Updated Name"
```

## Path parameters

- `inbox_id` string, required — The ID of the inbox.

## Request body

- InboxesUpdateInboxRequest
  - `display_name` string — Display name: `Display Name <username@domain.com>`.
  - `metadata` InboxesUpdateMetadata — Custom key-value pairs to merge into the inbox's existing metadata. A value may be a string, number, boolean, or null. Setting a key to null removes it. Up to 256 keys; keys and string values are each limited to 256 characters.

## Response `200`

- InboxesInbox
  - `pod_id` string, required — ID of pod.
  - `inbox_id` string, required — The ID of the inbox.
  - `email` string, required — Email address of the inbox.
  - `display_name` string — Display name: `Display Name <username@domain.com>`.
  - `client_id` string — Client ID of inbox.
  - `metadata` InboxesMetadata — Custom key-value pairs attached to the inbox. Up to 256 keys. Keys and string values are each limited to 256 characters. When updating metadata, send a key with a null value to remove that key.
  - `updated_at` string, date-time, required — Time at which inbox was last updated.
  - `created_at` string, date-time, required — Time at which inbox was created.

## Other responses

- `400`
- `404`

## Changes

- **2026-07-15** `394ddcdd9c29` — 8 info
  - added the new optional request property `metadata`
  - the request property `display_name` became nullable
  - the request property `display_name` became optional
  - added the non-success response with the status `400`
  - …4 more
- **2026-03-31** `27965096e618` — 1 info
  - added the required property `email` to the response with the `200` status
- **2026-03-28** `8a5b5e92ae2d` — 1 breaking
  - removed the required property `email` from the response with the `200` status
- **2026-03-19** `7fdcd6b4651f` — 1 info
  - added the required property `email` to the response with the `200` status

[Change history](https://skmtc.dev/agentmail-to/apis/api/changes/v0/inboxes/:inbox_id/patch.md)

---

[API](https://skmtc.dev/agentmail-to/apis/api.md) · [All operations](https://skmtc.dev/agentmail-to/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentmail-to/api/revisions/394ddcdd9c29/schema)
