List attachments
The attachments and inline parts of one received email, each with a signed download link valid for one hour; all of them unless limit is given. Needs a full access key. The links of an email that carries malware answer 410.
/emails/receiving/{email_id}/attachmentsAuthorizationBearer token · headerrequiredA BillionSend API key (bs_…).
email_idstring<uuid>requiredlimitintegerPage size, 1-100 (default 20)
afterstring<uuid>Cursor: id of the last item of the current page; returns the next page. Must be an id this list returned; there is no sentinel value.
beforestring<uuid>Cursor: id of the first item of the current page; returns the previous page; same rule as after.
Attachments
objectstringrequiredlisthas_morebooleanrequireddataobject[]requiredShow propertiesHide properties
objectidstring<uuid>requiredfilenamestringsizeintegerrequiredcontent_typestringrequiredcontent_dispositionstringrequiredinlineattachmentcontent_idstringdownload_urlstringrequiredSigned link to the file's bytes, valid for one hour; it needs no API key
expires_atstringrequiredMissing, malformed, unknown or revoked API key
statusCodenumberrequirednamestringrequiredmessagestringrequiredRestricted API key
statusCodenumberrequirednamestringrequiredmessagestringrequiredNot found
statusCodenumberrequirednamestringrequiredmessagestringrequiredValidation error
statusCodenumberrequirednamestringrequiredmessagestringrequiredOver the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberrequirednamestringrequiredmessagestringrequired