GET
/emails/{email_id}/attachmentsList attachments for an email
Lists the attachments for a sent email. Use email_id to select the email and after or before to paginate through its attachments; these cursor parameters cannot be used together.
email_idstringrequired
UUID of the email whose attachments to list.
limitintegeroptional
Maximum number of attachments to return.
afterstringoptional
UUID pagination cursor; returns attachments after this attachment. Cannot be used with `before`.
beforestringoptional
UUID pagination cursor; returns attachments before this attachment. Cannot be used with `after`.
200Returns an object containing attachment records and a `has_more` flag indicating whether more results are available.
objectstringoptional
Type of the response object.
has_morebooleanoptional
Indicates if there are more results available.
dataarray<object>optional
Array containing attachment information.
Error handling
The email_id path parameter, and any supplied after or before cursor, must be UUIDs. The after and before query parameters cannot be used together.