HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

createFolder

Creates a new folder in Optimizely Campaign.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the current session
folderNameStringName of the new folder
parentFolderIdlongID of the parent folder, or 0 if you want to create a new root directory
folderTypeStringType of the new folder

Return values

ID of the new folder

Code structure

long createFolder(String sessionId, String folderName, long parentFolderId, String folderType)

What’s Next
Did this page help you?