Docs

Add Reviewer

POST /drives/{eventId}/files/{fileId}/reviewers

POST/drives/{eventId}/files/{fileId}/reviewers

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.

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

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
fileIdGuidRequiredThe file ID.

Request Body

FieldTypeRequiredDescription
userIdsarray of GuidRequiredList of user IDs to designate as reviewers.

Response

201 Created — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token, or caller does not have File.* on this file.
NOT_FOUND404File not found.