Inbox
Download attachment
Get a presigned download URL for an inbox attachment. Checks S3 cache first; if not cached, fetches from IMAP and caches to S3. The presigned URL is valid for 5 minutes.
get/v1/inbox/{uid}/attachments/{part_index}
Request
- Base URL: https://api.winnr.app
- URL: https://api.winnr.app/v1/inbox/{uid}/attachments/{part_index}
- Auth: HTTP bearer
Path parameters
uidstring required
IMAP message UID
part_indexinteger required
MIME part index of the attachment
Query parameters
mailboxstring required
Email address the message belongs to
Response
Presigned download URL and metadata
Changes
No recorded changes to this operation across all 1 revision of this API.