drive
Create Folder
Changed onCreate a drive folder (team-visible; nested when parent_folder_id is set).
Name conflicts are a 409 folder_name_conflict whose details carry existing_folder_id when the caller can see the conflicting folder — an agent re-running "create the project folder" should adopt that id rather than invent a suffixed name.
post/drive/folders
Request
- Base URLhttps://api.moda.app/v1
- URLhttps://api.moda.app/v1/drive/folders
- AuthHTTP bearer
Headers
Moda-Version'2026-04-12' | '2026-05-01'
Example:2026-05-01
Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.
Request body
Example request
{
"parent_folder_id": "fld_01HT9WK8N3M2J4A5Z6P7Q8R9TV"
}Response
Successful Response
object required
Changes
- info
endpoint added
- info