Creates a new folder in the system
cURL
curl --request POST \ --url http://localhost:3000/v1/folders \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "parentId": "<string>" } '
{ "id": "<string>", "name": "<string>", "parentId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
API Key (sk...)
Name of the folder
Optional parent folder ID
Folder created successfully
Unique identifier for the folder
ID of the parent folder, if any
Timestamp when the folder was created
Timestamp when the folder was last updated
Was this page helpful?