Tasks
Get task attachment download URL
Changed onGenerate a signed download URL for an attachment on a compliance task so reviewers can access uploaded evidence.
get/v1/tasks/{taskId}/attachments/{attachmentId}/download
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Path parameters
taskIdstring required
Example:tsk_abc123def456
Unique task identifier
attachmentIdstring required
Example:att_abc123def456
Unique attachment identifier
Response
Download URL generated successfully
Example response
{
"downloadUrl": "https://bucket.s3.amazonaws.com/path/to/file.pdf?signature=...",
"expiresIn": 900
}Changes
- info
the endpoint scheme security
oauth2was removed from the API
- info
- info
the endpoint scheme security
oauth2was added to the API
- info