Skip to main content
POST
Get attachment download URL

Headers

x-project-id
string<uuid>
required

Project ID for tenant scoping

X-Workspace-Id
string<uuid> | null

Overrides the key's workspace

X-API-Key
string | null

User API key

Body

application/json
target
enum<string>
required

Whether the attachment hangs off a task or a comment

Available options:
task,
comment
attachment_id
string<uuid>
required

Attachment id to fetch a download URL for

task_id
string<uuid> | null

Owning task id; required when target is 'task'

Response

Successful Response

url
string
required
filename
string
required
content_type
string
required
expires_at
string<date-time>
required