Docs

Add Folder Link

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

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

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.

Creates a public shareable link for a folder. Public links allow unauthenticated access to the folder and its contents via the Public endpoints.

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
folderIdGuidRequiredThe folder ID.

Request Body

FieldTypeRequiredDescription
namestringRequiredDisplay name for the link.
permissionsarrayRequiredPermissions granted to anyone who accesses the link (e.g., `["File.Read"]`).

Response

201 Created — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
NOT_FOUND404Folder not found.