Docs
Add Reviewer
POST /drives/{eventId}/files/{fileId}/reviewers
POST
/drives/{eventId}/files/{fileId}/reviewersRequired 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. |
Designates one or more users as reviewers for a file. Reviewers participate in the approval workflow and can submit reviews on file versions.
If a user is not already associated with the file, a new association with File.Read permission and isReviewer: true is created automatically. If the user already has an association, their isReviewer flag is set to true without changing existing permissions.
Requires File.* (admin) permission on the file.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| driveId | Guid | Required | The event ID. |
| fileId | Guid | Required | The file ID. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| userIds | array of Guid | Required | List of user IDs to designate as reviewers. |
Response
201 Created — No response body.
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid token, or caller does not have File.* on this file. |
NOT_FOUND | 404 | File not found. |