Download

GET
/api/v1/threads/{threadId}/attachments/{fileId}/download

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key created in Capy under Settings → API.

Path parameters

threadId*string
fileId*string

Response body

AttachmentDownload

application/json
  1. response
url*string

A presigned GET for the file's bytes. Send it without an Authorization header; the signature is the credential.

expiresAt*string
curl -X GET 'https://api.capy.ai/api/v1/threads/string/attachments/string/download'
{  "url": "string",  "expiresAt": "string"}
Open in Capy