API referenceMessages
Download an attachment's bytes
Always served with Content-Disposition attachment and nosniff; types a browser could execute are served as application/octet-stream.
GET
Always served with Content-Disposition attachment and nosniff; types a browser could execute are served as application/octet-stream.
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
id*stringThe file
response?fileapplication/octet-streamFormat
binarycurl -X GET 'https://api.mailroomapi.com/v1/attachments/string/content'Example Response
"string"