Skip to main content
GET
/
v1
/
inbound
/
{id}
/
attachments
List Attachments
curl --request GET \
  --url https://api.example.com/v1/inbound/{id}/attachments
id
string
required
The ID of the inbound email.

Request

cURL
curl https://www.unosend.co/api/v1/inbound/550e8400-e29b-41d4-a716-446655440000/attachments \
  -H "Authorization: Bearer un_xxxxxxxxxx"

Response

200
{
  "data": [
    {
      "id": "att_123",
      "filename": "document.pdf",
      "content_type": "application/pdf",
      "size": 102400
    },
    {
      "id": "att_124",
      "filename": "image.png",
      "content_type": "image/png",
      "size": 51200
    }
  ]
}