← Back to AgentMail
GET/v0/inboxes/{inbox_id}/drafts/{draft_id}
Get Draft
Get a specific draft including its full content, recipients, and attachments.
AgentMail·Free
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "agentmail",
path: "/v0/inboxes/{inbox_id}/drafts/{draft_id}"
});
console.log(output);Response
labels.0
string
pod_id
string
subject
string
draft_id
string
inbox_id
string
created_at
string
updated_at
string
organization_id
string