MailMasker API
Claude Code
Drive

Create a folder

POST/api/v1/drive/folders

Who can use this: Any signed-in accountAs Markdown

Folders nest as deep as you like, but two folders in the same place can't have the same name.

Parameters

NameWhereWhat it is
name required body The new folder's name.e.g. Receipts
parent_folder_id body The folder to make it in. Leave it out, or send null, for the top level.e.g. 7

Good to know

  • A missing name answers 400.
  • A folder of that name already in the same place answers 409, and so does a parent folder that isn't yours.