Operations related to file and folder management in the File Storage.
Returns a 200 OK status if the file or folder exists at the specified path, and a 404 Not Found status if it does not.
- filePathstringrequired
URL-encoded file or folder path relative to the Storage root (e.g., 'MyFolder/MyFile.png').
- 200
The file or folder exists.
- 404
The file or folder does not exist.
curl https://your-portal.clickhelp.co/api/v1/storage/ \
--request HEAD \
--header 'Authorization: Basic username:password'
Returns metadata for a file or folder. If the path points to a file, it returns a single file object. If it points to a folder, it returns an array of objects for the items inside.
- filePathstringrequired
URL-encoded file or folder path relative to the Storage root (e.g., 'MyFolder/MyFile.png').
- formatconst:base64
For files only. Set to 'base64' to include the file content in the response.
- filterstring
For folders only. A file name mask, e.g., '*.png'.
- isRecursivebooleandefault:false
For folders only. Whether to list contents recursively.
curl https://your-portal.clickhelp.co/api/v1/storage/ \
--header 'Authorization: Basic username:password'
{
"fileName": "…",
"fileFullName": "…",
"content": "…",
"modifiedBy": "…",
"modifiedOn": "2026-01-23T22:10:04.180Z",
"size": 1,
"isFolder": true
}Creates a new file or folder at the specified path. The file content should be base64-encoded.
- filePathstringrequired
URL-encoded file or folder path relative to the Storage root (e.g., 'MyFolder/MyFile.png').
- formatconst:base64required
The encoding format of the file content.
- isOverwritebooleandefault:false
Whether to overwrite an existing file.
The file content and type.
Schema for creating a file or folder in Storage.
Base64-encoded file content. Omitted or null for empty files or folders.
Set to true to create a folder. 'content' will be ignored.
- 200
File or folder created successfully.
curl https://your-portal.clickhelp.co/api/v1/storage/ \
--request POST \
--header 'Authorization: Basic username:password' \
--header 'Content-Type: application/json' \
--data '{
"content": "",
"isFolder": false
}'
Updates the content of an existing file.
- filePathstringrequired
URL-encoded file or folder path relative to the Storage root (e.g., 'MyFolder/MyFile.png').
The new base64-encoded content.
Schema for updating a file in Storage.
The new Base64-encoded file content.
A comma-separated list of fields to update. Must include 'content'.
- 200
File updated successfully.
curl https://your-portal.clickhelp.co/api/v1/storage/ \
--request PATCH \
--header 'Authorization: Basic username:password' \
--header 'Content-Type: application/json' \
--data '{
"content": "",
"updatedFields": ""
}'
Deletes a file or folder at the specified path.
- filePathstringrequired
URL-encoded file or folder path relative to the Storage root (e.g., 'MyFolder/MyFile.png').
- 204
File or folder deleted successfully.
curl https://your-portal.clickhelp.co/api/v1/storage/ \
--request DELETE \
--header 'Authorization: Basic username:password' \
--header 'Content-Type: text/plain;charset=UTF-8' \
--data ""
Deletes multiple files or folders in a single batch operation.
A list of full paths of the files/folders to delete.
Schema for deleting multiple files from Storage.
- 204
The files were deleted successfully.
curl https://your-portal.clickhelp.co/api/v1/storage \
--request DELETE \
--header 'Authorization: Basic username:password' \
--header 'Content-Type: application/json' \
--data '{
"fileFullNames": [
""
]
}'