{"uid":"cap_ZUNL9VsgSq3suoICSnLkm","slug":"agentmail-get-draft-by-id-ba48d9cd","name":"AgentMail Get Draft by ID","description":"AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.","url":"https://x402.api.agentmail.to/v0/drafts/%7Bdraft_id%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"proven_free","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"free","summary":"Free","primary":{"kind":"free","protocol":"x402","network":"base","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"free","protocol":"x402","network":"base","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_HjrLXURujZjJSlotBiMv4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves a specific email draft by its draft ID from an AI agent's AgentMail inbox","exampleAgentPrompt":"Can you pull up the AgentMail draft with ID 'draft_abc123' so I can review its contents before sending?","exampleUseCases":[{"title":"Review draft before final approval","prompt":"Can you check the contents of draft_xyz789 to make sure the tone and formatting look good before I send it out?"},{"title":"Retrieve draft for editing and updates","prompt":"Pull up the draft with ID draft_tech_proposal so I can add those recent market data points we discussed."},{"title":"Verify draft details for compliance","prompt":"Fetch the email draft draft_legal_review and confirm it includes all the required disclosures and legal language we need."}],"resultDescription":"Returns a JSON object representing the email draft, including its content, metadata, and any other fields associated with the draft identified by the given draft_id.","failureModes":["Draft not found (invalid or non-existent draft_id) — 404 error","Unauthorized access — 401/403 if agent lacks permission to access the inbox","Malformed draft_id — 400 bad request","Service unavailable — 500 internal server error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to retrieve the full details of a previously saved email draft by its unique identifier, for example before editing, sending, or reviewing the draft. Prefer this over listing all drafts when the draft_id is already known.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T06:46:54.210Z","isFirstParty":false,"canonicalSlug":"agentmail-get-draft-by-id-ba48d9cd"}