Sleevy

Create

POST/v1/folders
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/folders" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "name": "string"}
{  "_tag": "InvalidFolderNameError",  "message": "string"}
{  "_tag": "Unauthorized",  "message": "string"}
{  "_tag": "FolderNameConflictError",  "message": "string"}
{  "_tag": "RateLimitExceeded",  "message": "string"}