v50

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-15367117899.6 KB
Tasks

Get task attachments

Get task attachments in Betayum. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.

get/v1/tasks/{taskId}/attachments

Path parameters

taskIdstring required
Example:tsk_abc123def456

Unique task identifier

Response

Attachments retrieved successfully

idstring required

Unique identifier for the attachment

namestring required

Original filename

typestring required

File type/MIME type

sizenumber required

File size in bytes

downloadUrlstring required

Signed URL for downloading the file (temporary)

createdAtstring date-time required

Upload timestamp

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"
  }
]