Docs

Get Partitions

GET /drives/{eventId}/partitions

GET/drives/{eventId}/partitions

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 drive partitions the current user has access to. A partition represents a scoped section of the drive — files and folders are always stored within exactly one partition.

Partition types:

  • Event — the event-level partition, shared across all event users. Its ID is the event ID.
  • Collaborator — a partition scoped to a specific collaborator. Its ID is the collaborator ID.
  • Area — a partition scoped to a specific area. Its ID is the area ID.

Event admins see all partitions. Non-admins see only partitions they have been explicitly granted access to.

The partition id returned here is used as the partitionKey when browsing the drive or creating files and folders.

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.

Example Response

[
  {
    "id": "0197f067-94af-743b-bc06-9c00d54efe20",
    "name": "Main Event",
    "type": "Event"
  },
  {
    "id": "0197f069-bd91-76c8-bfd0-5e287b932da7",
    "name": "Headliner",
    "type": "Collaborator"
  }
]

Response Fields

FieldTypeDescription
idGuidThe partition ID. Use this as `partitionKey` when browsing or creating content in this partition.
namestringDisplay name of the partition (event name, collaborator name, or area name).
typestringPartition type: `"Event"`, `"Collaborator"`, or `"Area"`.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
NOT_FOUND404Drive not found.