> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/011_documents/014__create_company_folder.md).

# Create Company Folder

GraphQL endpoint: `/company`

Creates a document folder for the calling company. Pass parentId to nest it under an existing folder; omit it for a folder at the repository root.

## Query

```graphql
mutation { createCompanyFolder(name: "Contracts") { id name parentId } }

```

## Variables

```json
{}
```

## Response

```json
{
  "data": {
    "createCompanyFolder": {
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "Contracts",
      "parentId": null
    }
  }
}
```
