Create folder
post
https://api.imagekit.io
/v1/folder/
Create folder API

Response structure and status code

On success, you will receive a 201 status code with an empty body.

Examples

Here is the example request to understand the API usage.
cURL
1
curl -X POST "https://api.imagekit.io/v1/folder/" \
2
-H 'Content-Type: application/json' \
3
-u your_private_key: -d '
4
{
5
"folderName" : "new_folder",
6
"parentFolderPath" : "source/folder/path"
7
}
8
'
Copied!
Last modified 4mo ago