---
title: "Get a draft"
method: GET
path: "/v1/inboxes/{id}/drafts/{did}"
tags: ["Drafts"]
---

# Get a draft

`GET /v1/inboxes/{id}/drafts/{did}`

## Request

- Base URL: `https://anjal.app`
- URL: `https://anjal.app/v1/inboxes/{id}/drafts/{did}`
- Auth: API key in header `X-API-Key`

## Response `200`

OK

- Draft
  - `id` string, uuid
  - `inboxId` string, uuid
  - `to` string[]
  - `cc` string[]
  - `bcc` string[]
  - `subject` string
  - `plainBody` string, nullable
  - `htmlBody` string, nullable
  - `replyToMessageId` string, uuid, nullable
  - `labels` string[]: Applied to the message when the draft is sent.
  - `sendAt` string, date-time, nullable: When Anjal will send this draft. Null if not scheduled.
  - `sendError` string, nullable: Why the last scheduled send failed. The draft is kept and `sendAt` is cleared.
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

---

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