Tasks
Get task attachments
Changed onGet task attachments in Comp AI. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.
get/v1/tasks/{taskId}/attachments
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Path parameters
taskIdstring required
Example:tsk_abc123def456
Unique task identifier
Response
Attachments retrieved successfully
Example response
[
{
"id": "att_abc123def456",
"name": "document.pdf",
"type": "application/pdf",
"size": 1024000,
"downloadUrl": "https://bucket.s3.amazonaws.com/path/to/file.pdf?signature=...",
"createdAt": "2024-01-15T10:30:00Z"
}
]Changes
- info
the endpoint scheme security
oauth2was removed from the API
- info
- info
the endpoint scheme security
oauth2was added to the API
- info