Notca Docs

Create folder

Create a new folder for the authenticated user

POST
/api/v1/folders
x-api-key<token>

In: header

namestring
Length1 <= length
slugstring
Match^[a-z0-9-]+$
Length3 <= length <= 100

Response 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
}