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}/attachmentsAuthorizationToken Bearer · headerobligatorioA BillionSend API key (bs_…).
email_idstring<uuid>obligatoriolimitintegerPage 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
objectstringobligatoriolisthas_morebooleanobligatoriodataobject[]obligatorioMostrar propiedadesOcultar propiedades
objectidstring<uuid>obligatoriofilenamestringsizeintegerobligatoriocontent_typestringobligatoriocontent_dispositionstringobligatorioinlineattachmentcontent_idstringdownload_urlstringobligatorioSigned link to the file's bytes, valid for one hour; it needs no API key
expires_atstringobligatorioMissing, malformed, unknown or revoked API key
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioRestricted API key
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioNot found
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioValidation error
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioOver the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorio