Documentation Index
Fetch the complete documentation index at: https://developers.notion.com/llms.txt
Use this file to discover all available pages before exploring further.
Comments can currently support up to 3 attachments.
Request format (input)
Object properties
After following the Working with files and media guide, provide an array of objects under theattachments parameter in the Create comment API, each containing the following properties:
| Parameter | Type | Description | Example value |
|---|---|---|---|
file_upload_id | string (UUID) | ID of a File Upload with a status of "uploaded" | "2e2cdb8b-9897-4a6c-a935-82922b1cfb87" |
type | string (optional) | Possible type values are:"file_upload" | "file_upload" |
.png file displays your attachment as an inline image instead of a regular file download block.
Response format (output)
Object properties
The response of Comment APIs like Create comment containsattachments with the following fields:
| Field | Type | Description | Example value |
|---|---|---|---|
category | string (enum) | The category of this attachment. Possible type values are: "audio", "image", "pdf", "productivity", and "video" | "audio" |
file | object | A file object containing type-specific configuration. | {"url": "<https://s3.us-west-2.amazonaws.com/...">, "expiry_time": "2025-06-10T21:26:03.070Z"} |
file.url is a temporary download link generated at the time of retrieving a comment. See the guide on Retrieving existing files to learn more about accessing the files you upload.