attachments
Download Shared Attachment
Changed onServe one attachment or agent working file through a short-lived share link (TOS-7678, TOS-7684).
Unauthenticated on purpose: the caller is a third-party tool (Higgsfield media_import_url, curl in a sandbox) holding a URL an agent minted with attachment_url. The random token is the whole credential, and resolve_share_link re-checks on every fetch that the minting agent can still see the attachment in its chat. Unknown, expired and revoked links all answer the same 404. Declared before /{attachment_id} so the literal segment wins.
get/api/attachments/shared/{token}
Request
- Base URL: https://app.thinqos.com (the document declares no server; this is the origin it was published from)
- URL: https://app.thinqos.com/api/attachments/shared/{token}
- Auth: none declared
Path parameters
tokenstring required
Response
Successful Response
unknown required
Changes
- info
api operation id
download_shared_attachment_api_attachments_shared__token__headremoved and replaced withdownload_shared_attachment_api_attachments_shared__token__get
- info