---
title: "Create a mailbox on a registered domain"
method: POST
path: "/v1/domains/{domain}/mailboxes"
tags: ["Mailboxes"]
---

# Create a mailbox on a registered domain

`POST /v1/domains/{domain}/mailboxes`

## Request

- Base URL: `https://api.usemektup.com`
- URL: `https://api.usemektup.com/v1/domains/{domain}/mailboxes`
- Auth: HTTP bearer

## Path parameters

- `domain` string, required

## Request body

- object
  - `localPart` string, required
  - `password` string: Omit to auto-generate a strong password

## Response `201`

Created

- CreateMailboxResult
  - `id` string, uuid
  - `local_part` string
  - `created_at` string, date-time
  - `domain` string
  - `address` string, email
  - `password` string: Shown once if auto-generated

## Other responses

- `400`: Invalid request
- `404`: Not found on this account (tenant-isolated - never reveals another account's data)

---

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