Create folder
Create a new folder for the authenticated user
x-api-key<token>
In: header
namestring
Length
1 <= lengthslugstring
Match
^[a-z0-9-]+$Length
3 <= length <= 100Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://app.notca.co/api/v1/folders" \ -H "Content-Type: application/json" \ -d '{ "name": "New folder", "slug": "new-folder" }'{
"id": "string",
"name": "string",
"desc": "string",
"image": "string",
"price": -2147483648,
"slug": "string",
"isOneTimePurchase": true,
"isPublic": true,
"trialDays": -2147483648,
"userId": "string",
"createdAt": "2019-08-24",
"updatedAt": "2019-08-24"
}{
"error": "string",
"details": null
}{
"error": "string",
"details": null
}{
"error": "string",
"details": null
}