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 令牌 · header必填A BillionSend API key (bs_…).
email_idstring<uuid>必填limitintegerPage 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
objectstring必填listhas_moreboolean必填dataobject[]必填显示属性隐藏属性
object 数组idstring<uuid>必填filenamestringsizeinteger必填content_typestring必填content_dispositionstring必填inlineattachmentcontent_idstringdownload_urlstring必填Signed link to the file's bytes, valid for one hour; it needs no API key
expires_atstring必填Missing, malformed, unknown or revoked API key
statusCodenumber必填namestring必填messagestring必填Restricted API key
statusCodenumber必填namestring必填messagestring必填Not found
statusCodenumber必填namestring必填messagestring必填Validation error
statusCodenumber必填namestring必填messagestring必填Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumber必填namestring必填messagestring必填