---
title: "Create Inbox"
method: POST
path: "/v1/inboxes"
---

# Create Inbox

`POST /v1/inboxes`

## Request

- Base URL: `https://api.namailu.cz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.namailu.cz/v1/inboxes`
- Auth: HTTP bearer

## Request body

- InboxCreate
  - `name` string, nullable: local-part na sdílené doméně; bez něj se vygeneruje handle
  - `address` string, nullable: plná adresa na VLASTNÍ aktivní doméně tenanta (local@domena)

## Response `201`

Successful Response

- object

## Other responses

- `401`: Missing, invalid or unproved API credential.
- `403`: Credential lacks the required scope or policy permission.
- `422`: Stable validation or policy rejection.
- `500`: Sanitized internal error.

---

[API](https://skmtc.dev/namailu/apis/domovnik-agent-api.md) · [All operations](https://skmtc.dev/namailu/apis/domovnik-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/namailu/apis/domovnik-agent-api/revisions/6342d1e31643?raw)
