# Create User Folder

GraphQL endpoint: `/user`

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

## Query

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

```

## Variables

```json
{}
```

## Response

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