post
https://sandbox.datamotion.com/SecureMessagingApi/Folder
This method is used to create a custom folder in a user’s account. Once a folder is created, messages can be moved into it using the Move Message function. A session key must be submitted via the X-Session-Key header. A successful transaction will receive a 200 status code.
400The CreateFolderRequestData model is required in the request body. || The FolderName field is required.
401The X-Session-Key header is missing. || Bad session key. || Session key expired. || The Folder Name already exists. || The Folder Name is too long. || Folder type [FolderType] is not supported. || The Folder Type or Folder Name is invalid. || Unknown error while creating folder.