Skip to main content
GET
Get Draft
Fetches one unsent draft by id without naming an inbox: draft_id, inbox_id, client_id, labels, reply_to, to, cc, bcc, subject, preview, text, html, attachments, in_reply_to and references. This is the organization-wide view spanning every inbox in the account. Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created; the inbox-scoped twin get_agentmail_inbox_draft is the one to use when a single inbox is meant.

Example

First time? Point any MCP client at https://mcp.aisa.one/mcp — Claude Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client opens a browser, you click Allow once, and there is no key to paste. Your agent then reaches every endpoint through a few meta tools: search, list_categories, get_details and batch_quote are free, batch_use is billed per call. Setup per client is in Connect via MCP; the live tool list and what each call costs are on aisa.one/mcp.
Set this endpoint up in your agent → Currently disabled.

Request contract

  • Method and path: GET /apis/v1/agentmail/drafts/{draft_id}
  • Availability: disabled
This endpoint is disabled and cannot be called. Its historical request and schema details are retained for reference; pricing is not published.
  • Request URL template: https://api.aisa.one/apis/v1/agentmail/drafts/{draft_id}
  • draft_id: path; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Historical archive: disabled, cannot be called, and no price is published.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

draft_id
string
required

ID of draft.

Response

Response with status 200

created_at
string<date-time>
required

Time at which draft was created.

draft_id
string
required

ID of draft.

inbox_id
string
required

The ID of the inbox.

labels
string[]
required

Labels of draft.

updated_at
string<date-time>
required

Time at which draft was last updated.

attachments
Attachment · object[]

Attachments in draft.

bcc
string[]

Addresses of BCC recipients. In format username@domain.com or Display Name <username@domain.com>.

cc
string[]

Addresses of CC recipients. In format username@domain.com or Display Name <username@domain.com>.

client_id
string

Client ID of draft.

forward_of
string

ID of message being forwarded.

html
string

HTML body of draft.

in_reply_to
string

ID of message being replied to.

preview
string

Text preview of draft.

references
string[]

IDs of previous messages in thread.

reply_to
string[]

Reply-to addresses. In format username@domain.com or Display Name <username@domain.com>.

send_at
string<date-time>

Time at which to schedule send draft.

send_status
enum<string>

Schedule send status of draft.

Available options:
scheduled,
sending,
failed
subject
string

Subject of draft.

text
string

Plain text body of draft.

to
string[]

Addresses of recipients. In format username@domain.com or Display Name <username@domain.com>.