Docs

Get User Shared Items

GET /drives/{eventId}/users/{userId}/shared

GET/drives/{eventId}/users/{userId}/shared

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.

Returns all files and folders shared directly with a specific user, along with the permissions granted. A user can only retrieve their own shared items. Supports optional path and association filtering for navigating into a specific shared subtree.

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
userIdGuidRequiredThe ID of the user whose shared items to retrieve. Must match the authenticated user.

Query Parameters

FieldTypeRequiredDescription
pathstringOptionalNavigate into a specific path within the user's shared subtree (e.g., `/{folderId}`). Omit to return top-level shared items.
associationGuidOptionalThe association ID that granted access to the path. Required when `path` is provided.

Response Fields

FieldTypeDescription
pathPartsarrayBreadcrumb trail for the current path. Each part has `name`, `path`, and `grantedAssociation` (the association ID that granted access to this path segment).
filesarrayFiles at the current path. See **Item Fields**.
foldersarrayFolders at the current path. See **Item Fields**.
permissionsarrayPermissions the user has at the current path (e.g., `"File.Read"`, `"File.Edit"`, `"File.*"`).

Item Fields

FieldTypeDescription
idGuidThe item's unique ID.
grantedAssociationGuidThe association ID that granted access to this item.
typestring`"File"`, `"Deliverable"`, or `"Folder"`.
namestringDisplay name.
descriptionstringOptional description.
pathstringParent path of the item.
fullPathstringFull path including the item's own ID (e.g., `/{folderId}/{fileId}`).
permissionsarrayPermissions the user has on this item.
associationsobjectCollaborator, area, and user associations on the item.
versionsarrayVersion tags for files (e.g., `["Version 1", "Version 2"]`). Empty for folders.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token, or requesting items for a different user.
NOT_FOUND404Drive or user not found.