Download an attachment's bytes
GET/v1/attachments/{att}/content
Downloads an attachment’s stored bytes, verbatim, under its stored MIME type.
Behavior
- Served with
Content-Disposition: attachmentandX-Content-Type-Options: nosniff: the bytes are caller-supplied content, not a page this origin vouches for. - Same brand scope and the same 404 posture as the metadata read.
Errors
- HTTP 409
code2007: the bytes are not stored yet. Wait and retry. - HTTP 422
code2053: the bytes never arrived and never will. Upload again. Only the 409 is worth retrying. - Read
GET /v1/attachments/{att}for the currentstatus.
Download an attachment's bytes
curl https://messages.api.linqapp.com/v1/attachments/$ATT/content \
-H "Authorization: Bearer $LINQ_AMB_API_KEY"