---
title: "Download Inbound Email Attachment"
method: GET
path: "/api/mailbox/{inbound_email_id}/attachments/{filename}"
tags: ["Mailbox"]
---

# Download Inbound Email Attachment

`GET /api/mailbox/{inbound_email_id}/attachments/{filename}`

## Request

- Base URL: `https://api.e-invoice.be`
- URL: `https://api.e-invoice.be/api/mailbox/{inbound_email_id}/attachments/{filename}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/docs/api/mailbox/:inbound_email_id/attachments/:filename/get.ts> (a function with typed inputs; its response is checked against the schema)

Download a specific attachment from an inbound email by filename. Returns the binary content with the correct Content-Type.

## Path parameters

- `inbound_email_id` string, required
- `filename` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: Unauthorized: API key is missing, invalid, or inactive
- `404`: Not Found: Email or attachment not found
- `422`: Validation Error
- `500`: Internal Server Error: Unexpected server error

## Changes

- **2026-10-11** `7563a8290e14`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/changes/api/mailbox/:inbound_email_id/attachments/:filename/get.md)

---

[API](https://skmtc.dev/e-invoice-be/apis/e-invoice-be-peppol-access-point-api.md) - [All operations](https://skmtc.dev/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/llms.txt) - [OpenAPI document](https://skmtc.dev/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/revisions/0ee5e3d3992a?raw)
