{"uid":"cap_DTzrS53PZUCGLaSAoVrUc","slug":"agentmail-get-message-attachment-b8ad8823","name":"AgentMail Get Message Attachment","description":"Service: AgentMail API (/v0/inboxes/{inbox_id}/messages/{message_id}/attachments/{attachment_id})","url":"https://x402.api.agentmail.to/v0/inboxes/%7Binbox_id%7D/messages/%7Bmessage_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":"Retrieves a specific email attachment from a message in an AgentMail inbox by attachment ID","exampleAgentPrompt":"Fetch the attachment with ID att_789 from message msg_456 in my AgentMail inbox inb_123 so I can read the file that was emailed to my agent.","exampleUseCases":null,"resultDescription":"Returns the binary or structured content of the requested email attachment, including the file data associated with the given attachment ID within the specified message and inbox.","failureModes":["Invalid inbox_id returns 404 not found","Invalid message_id returns 404 not found","Invalid attachment_id returns 404 not found","Unauthorized access returns 401 or 403","Attachment has been deleted or expired returns 404","Rate limiting returns 429 too many requests"],"whenToPreferThis":"Use this endpoint when an AI agent has already identified a specific attachment ID from a message listing and needs to retrieve the actual attachment content. Prefer this over listing endpoints when you already know the exact inbox, message, and attachment IDs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-10T12:47:02.001Z","isFirstParty":false}