Skip to main content
GET
Get a short-lived download URL
Returns a presigned URL when attachments live in object storage. Use it to let a browser fetch large files directly. When the call answers 204, use the download endpoint instead. Related guide: Agent access: grant credentials to agents. Where a browser should fetch the bytes from. Answers a presigned URL when the deployment stores attachments in object storage, or 204 when the bytes are served inline (use the download endpoint).
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

conversationId
string
required
attachmentId
string
required

Response

A presigned URL

url
string
expiresAt
string<date-time>