Skip to Content
Xeonr Developer Docs
API SpecificationFolders

Create Folder

POST
/xeonr.notes.v1.FoldersService/CreateFolder

Creates a new folder in the notes tree, optionally under a parent folder.

Required scope: upl:notes:edit (or a stronger verb of the same family: admin ⊃ edit ⊃ read).

Authorization

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketId?string
Length1 <= length
parentId?|
name?string
Length1 <= length
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notes-api.xeonr.io/xeonr.notes.v1.FoldersService/CreateFolder" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "folder": "map[id:c7e91f20-5a3d-4b8c-9e6f-1d2a3b4c5e6f name:Projects slug:projects type:NOTE_ITEM_TYPE_FOLDER]"
}