Docs

Add Folder Associations

POST /drives/{eventId}/folders/{folderId}/associations

POST/drives/{eventId}/folders/{folderId}/associations

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.

Shares a folder with users, collaborators, and/or areas. Folder-level associations grant access to the folder and are visible when viewing the folder's details. The request body structure is identical to Add File Associations.

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
folderIdGuidRequiredThe folder ID.

Request Body

FieldTypeRequiredDescription
usersarrayRequiredUser associations. Can be empty (`[]`).
collaboratorsarrayRequiredCollaborator associations. Can be empty (`[]`).
areasarrayRequiredArea associations. Can be empty (`[]`).

Each association: { "id": Guid, "permissions": ["File.Read"], "isReviewer": false }

See Add File Associations for the full Association Object, File Permissions, and error details.

Response

201 Created — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
NOT_FOUND404Folder, collaborator, or area not found.
BAD_REQUEST400Duplicate association.