{"uid":"cap_YKvzXvE-RT-16LJBXoVFg","slug":"agentmail-get-draft-attachment-f3e43470","name":"AgentMail Get Draft Attachment","description":"Service: AgentMail API (/v0/inboxes/{inbox_id}/drafts/{draft_id}/attachments/{attachment_id})","url":"https://x402.api.agentmail.to/v0/inboxes/%7Binbox_id%7D/drafts/%7Bdraft_id%7D/attachments/%7Battachment_id%7D","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"unprobed","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":null,"accepted":[]},"paymentMethods":[],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieve a specific attachment from a draft email in an AgentMail inbox by its attachment ID","exampleAgentPrompt":"Can you pull up the attachment with ID att_abc123 from draft draft_xyz789 in inbox inbox_001 on AgentMail so I can review what file is attached before sending?","exampleUseCases":null,"resultDescription":"Returns the attachment data (metadata and/or content) for the specified attachment on a draft email, including file name, content type, size, and the attachment payload.","failureModes":["inbox_id not found returns 404","draft_id does not exist or belongs to different inbox returns 404","attachment_id not found on the specified draft returns 404","invalid or missing authentication returns 401","malformed path parameters return 400","draft has been deleted or sent returns 404"],"whenToPreferThis":"Use this endpoint when you need to inspect or retrieve a specific file that has already been attached to a draft email in an AgentMail inbox, particularly before sending the draft or to verify attachment contents. Prefer this over listing all attachments when you already know the specific attachment_id.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-10T18:43:36.205Z","isFirstParty":false}