Comment Attachment

The Comment Attachment object represents files with the status uploaded that have been attached to a Comment.

📘

Comments can currently support up to 3 attachments.

Request Format (Input)

Object properties

The input to Comment APIs like Create comment contains attachments with the following fields:

FieldTypeDescriptionExample value
file_upload_idstring (enum)ID of a File Upload with status "uploaded""12345678-1234-1234-1234-123456789012"
typestring
(optional)
Possible type values are:"file_upload""file_upload"

{
  "file_upload_id": "12345678-1234-1234-1234-123456789012"
}

Response Format (Output)

Object properties

The response of Comment APIs like Create comment contains attachments with the following fields:

FieldTypeDescriptionExample value
categorystring (enum)The category of this attachment. Possible type values are: "audio", "image", "pdf", productivity, and video"audio"
fileobjectA file object containing type-specific configuration.{ "url": "<https://s3.us-west-2.amazonaws.com/...">, "expiry_time": "2025-06-10T21:26:03.070Z" }

{
  "category": "video",
  "file": {
    "url": "https://s3.us-west-2.amazonaws.com/...",
    "expiry_time": "2025-06-10T21:26:03.070Z"
  }
}