Create Folder
Creates a folder under an owner — a configured entity (entityType +
entityId) or the company level (entityType: "company", no
entityId). Optionally nest it under one of the owner’s existing
folders with parentFolderId; omit it for a top-level folder. A folder
can only ever contain files and subfolders of its own owner.
Required permission: company.file:create
Authorizations
API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.
Path Parameters
Company identifier
Body
The folder owner's entity type
Event, Exposure, Quote, Submission, Person, Organization, Policy, company Folder name (must be non-empty)
The owner entity's id. Required for every entityType
except company (omit or send null for company-level folders).
Parent folder to nest under (omit or null for top-level)
Response
Folder created successfully
Id of the created folder
