Mailfully logo

Retrieve an attachment

GEThttps://api.mailfully.com/v1/emails/receiving/{id}/attachments/{attachment_id}

Retrieve one attachment on a received email, with a download link that lasts at most one hour (expires_at is exact). An unknown attachment id returns 404. Requires the read:inbound scope.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

idstringrequired

The received email id (inb_ followed by a 26-character ULID).

attachment_idstringrequired

The attachment id (att_ followed by a 26-character ULID).

Response

application/json

The attachment.