---
title: "Create Inbox"
method: POST
path: "/v0/inboxes"
tags: ["Inboxes"]
---

# Create Inbox

`POST /v0/inboxes`

**CLI:**
```bash
agentmail inboxes create --display-name "My Agent" --username myagent --domain agentmail.to
```

## Request body

- InboxesCreateInboxRequest
  - `username` string, nullable — Username of address. Randomly generated if not specified.
  - `domain` string, nullable — Domain of address. Must be verified domain. Defaults to `agentmail.to`.
  - `display_name` string — Display name: `Display Name <username@domain.com>`.
  - `client_id` string — Client ID of inbox.

## 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.
  - `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`

---

[API](https://skmtc.net/agentmail-to/apis/api-2.md) · [All operations](https://skmtc.net/agentmail-to/apis/api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentmail-to/api-2/revisions/869b7f1c360c/schema)
