Skip to main content
GET
Get a private download URL
Read access: a read-enabled personal or team REST API key, or a signed-in user. OAuth clients use the corresponding MCP tool through /mcp. Obtain a short-lived private GET URL for an attachment. preview:true returns an inline image/PDF. Do not log returned URLs. URLs expire after five minutes and are private capabilities. preview:true requests inline image/PDF display; otherwise the URL downloads the attachment. MCP clients can use get_attachment_download for this operation. Request conventions · API keys · MCP connections

Authorizations

Authorization
string
header
required

Personal or team Mill REST API key

Path Parameters

taskId
string<uuid>
required

The taskId from the corresponding list, record or authorization response.

attachmentId
string<uuid>
required

The attachmentId from the corresponding list, record or authorization response.

Query Parameters

preview
boolean

boolean

Response

Successful response. Examples are illustrative; field values vary by record.

Illustrative response shape. Fields can be absent in alternate successful flows; see the operation description and example.

url
string
expiresAt
string