MailMasker API
Claude Code
Drive

List your folders

GET/api/v1/drive/folders

Who can use this: Any signed-in accountAs Markdown

One level only: the folders directly inside the one you name, not their subfolders. Folders in Trash are left out. The parameter here is parent_id, not folder_id.

Parameters

NameWhereWhat it is
parent_id query The folder whose subfolders you want. Leave it out for the top level.

Good to know

  • A folder that isn't yours, or doesn't exist, answers 404.