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:
Example Create Comment request:
.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:
Example attachment object in Create Comment response:
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.