👋 Welcome to the new Omni docs! We're still migrating, but the old docs are available at docs-legacy.omni.co.
cURL
curl --request POST \ --url https://{instance}.omniapp.co/api/v1/folders \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "scope": "organization", "parentFolderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "path": "<string>", "scope": "organization", "owner": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Create a new folder (maximum 7 levels deep)
Use either an Organization API Key or Personal Access Token (PAT). Include in the Authorization header as: Bearer YOUR_TOKEN
Bearer YOUR_TOKEN
Folder name
Folder scope
organization
restricted
Parent folder ID
Folder created successfully
Was this page helpful?