/emails/{id}/attachments/{attachment_id}
GET
id*stringFormat
uuidattachment_id*stringAttachment id from the list
Length
1 <= length <= 64One attachment, file bytes inline as base64
application/json- response
object*"attachment"Value in
"attachment"id*stringAttachment id: stable for this email, derived from its position in the send
Format
uuidfilename*stringsize*integerDecoded file size in bytes
content_type*stringMedia type given at send (application/octet-stream if none)
content_disposition*"attachment"Value in
"attachment"content_id*unknownAlways null: inline (cid) attachments are not supported
content*stringFile bytes, base64-encoded
download_url*unknownAlways null: the file is returned inline in content instead of a signed link
expires_at*unknowncurl -X GET 'https://api.ritto.email/emails/497f6eca-6276-4993-bfeb-53cbbbba6f08/attachments/string'Example Response
{ "object": "attachment", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "size": 0, "content_type": "string", "content_disposition": "attachment", "content_id": null, "content": "string", "download_url": null, "expires_at": null}