---
title: "Send a draft"
method: POST
path: "/v1/inboxes/{inbox_id}/drafts/{draft_id}/send"
tags: ["Inboxes"]
---

# Send a draft

`POST /v1/inboxes/{inbox_id}/drafts/{draft_id}/send`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/inboxes/{inbox_id}/drafts/{draft_id}/send`
- Auth: HTTP bearer

Sends real email: the approval step for a draft. It goes out from the inbox address through the normal send path; a reply draft joins its thread with threading headers, a new conversation starts a thread in sent. The draft needs a recipient and a body (and a subject when it is not a reply). The send claims the draft on the version it read, so an edit cannot slip in while it runs. Not in Resend: pass the revision a person reviewed; if the draft changed since, nothing is sent and the answer is 409 with code draft_changed. Without a body this is Resend's call. Sending the same draft twice queues one email; a draft that was already sent returns 409. Requires the inbound:read and email:send scopes.

## Path parameters

- `inbox_id` string, required
- `draft_id` string, required

## Request body

- object
  - `revision` integer: Send only if the draft is still at this revision, the one that was reviewed. Not in Resend.

## Response `200`

Sent

- object
  - `object` string
  - `id` string
  - `thread_id` string
  - `email_id` string
  - `sent_revision` integer: Present with warning: the revision that went out. Not in Resend.
  - `warning` string: Present when the email went out but the draft changed or was claimed again while the send ran, so it was not marked sent. Not in Resend.

## Other responses

- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `404`: Resource not found
- `409`: Conflict - the resource already exists or changed meanwhile
- `422`: The request is well formed but cannot be carried out in the current state, for example an unpublished template
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

[API](https://skmtc.dev/smtpfa/apis/smtpfast-api.md) · [All operations](https://skmtc.dev/smtpfa/apis/smtpfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smtpfa/apis/smtpfast-api/revisions/79dda742f53e?raw)
