Docs
Add Comment
POST /drives/{eventId}/files/{fileId}/versions/{versionId}/comments
POST
/drives/{eventId}/files/{fileId}/versions/{versionId}/commentsRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **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
| Field | Type | Required | Description |
|---|---|---|---|
| driveId | Guid | Required | The event ID. |
| fileId | Guid | Required | The file ID. |
| versionId | Guid | Required | The version ID to comment on. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| comment | string | Required | The comment text. |
Response
201 Created — No response body.
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid token. |
NOT_FOUND | 404 | File or version not found. |