Skip to documentation

Receiving

Receiving attachments

Download attachments using short-lived signed URLs.

How it works

Download attachments using short-lived signed URLs. List attachments for a received email, then use the returned download_url before expires_at.

Example

bash
curl "$OPENSEND_BASE_URL/emails/receiving/YOUR_EMAIL_ID/attachments" -H "Authorization: Bearer $OPENSEND_API_KEY"

Things to know

Links last one hour. Deletion or retention revokes them immediately. The dashboard does not expose attachment controls; use the API. Treat downloaded content as untrusted.