Authorizations
API key for authentication
Headers
Organization ID (required for session auth, optional for API key auth)
Path Parameters
Unique task identifier
"tsk_abc123def456"
Body
Name of the file
255
"document.pdf"
MIME type of the file
image/jpeg
, image/png
, image/gif
, image/webp
, application/pdf
, text/plain
, application/msword
, application/vnd.openxmlformats-officedocument.wordprocessingml.document
"application/pdf"
Base64 encoded file data
"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg=="
Description of the attachment
500
"Meeting notes from Q4 planning session"
Response
Attachment uploaded successfully
Unique identifier for the attachment
"att_abc123def456"
Original filename
"document.pdf"
File type/MIME type
"application/pdf"
File size in bytes
1024000
Signed URL for downloading the file (temporary)
"https://bucket.s3.amazonaws.com/path/to/file.pdf?signature=..."
Upload timestamp
"2024-01-15T10:30:00Z"