---
title: "Create a draft"
method: POST
path: "/inboxes/{id}/drafts"
tags: ["Inboxes"]
---

# Create a draft

`POST /inboxes/{id}/drafts`

## Request

- Base URL: `https://sending.dev/api/v1`
- URL: `https://sending.dev/api/v1/inboxes/{id}/drafts`
- Auth: HTTP bearer

Required scope: `inbox:send`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).

## Path parameters

- `id` string, required: Inbox ID.

## Request body

- CreateDraftInput
  - `to` union: One or more recipients: 'a@b.com', 'Name <a@b.com>', several comma-separated addresses, or an array.
    - string
    - string[]
  - `cc` union: One or more recipients: 'a@b.com', 'Name <a@b.com>', several comma-separated addresses, or an array.
    - string
    - string[]
  - `subject` string
  - `html` string
  - `threadId` string, uuid

## Response `201`

Draft created.

- DraftCreated
  - `draftId` string, uuid, required
  - `threadId` string, uuid, required

## Other responses

- `401`: Missing or invalid token.
- `403`: Insufficient scope.
- `404`: Resource not found.
- `422`: Invalid input.

---

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