List folders in Google Drive for folder selection in sync configuration.
Enables users to browse and select folders when configuring sync operations. Only available for Google Drive connections.
Use Cases:
Example:
curl -X GET "http://localhost:8000/v1/organizations/connections/conn_abc123/folders?path=/Marketing" \
-H "Authorization: Bearer YOUR_API_KEY"
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
Connection identifier - either connection ID (conn_...) or name. The system will automatically resolve names to IDs.
Parent folder path to list from
Successful Response
Response payload for listing Google Drive folders.
Returns a list of folders available at the specified path, enabling users to browse and select folders for sync configuration.
List of folders found at the specified parent path. Only includes folders (not files). Empty list if no folders found or path doesn't exist.
The parent folder path that was queried. This is the path specified in the request (or '/' for root). Use this to show breadcrumb navigation in UI.