Skip to main content

Attachments API

Manage file attachments on pages.

List Attachments

GET /v1/attachments

Parameters

ParameterTypeRequiredDescription
pageIdstringYesPage ID
workspaceIdstringYesWorkspace ID

Get Attachment

GET /v1/attachments/:attachmentId


Upload Attachment

POST /v1/attachments

Body Parameters

ParameterTypeRequiredDescription
pageIdstringYesPage ID
workspaceIdstringYesWorkspace ID
filenamestringYesFile name
contentTypestringYesMIME type
datastringYesBase64-encoded data

Download Attachment

GET /v1/attachments/:attachmentId/download

Returns the file content.


Delete Attachment

DELETE /v1/attachments/:attachmentId