Docs

Add Comment

POST /drives/{eventId}/files/{fileId}/versions/{versionId}/comments

POST/drives/{eventId}/files/{fileId}/versions/{versionId}/comments

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Adds a comment to a specific version of a file. Comments are visible to all users with access to the file and appear in the version's detail view.

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
fileIdGuidRequiredThe file ID.
versionIdGuidRequiredThe version ID to comment on.

Request Body

FieldTypeRequiredDescription
commentstringRequiredThe comment text.

Response

201 Created — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
NOT_FOUND404File or version not found.