POST /v1/folders
Create a new folder by sending a JSON request body.
POST /v1/folders creates a new folder.
Authentication
Send an organization API key in x-api-key or
Authorization: Bearer <key>.
Request Body
name is required. All other fields are optional.
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Folder name, from 1 to 100 characters. |
description | string or null | No | Description, up to 500 characters. |
teamIds | array of strings | No | Up to 50 teams allowed to access the folder. Defaults to an empty array. |
Example
curl -X POST "https://api.blueputto.com/v1/folders" \
-H "x-api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{"name":"Conservation reports"}'Success Response
201 Created
{
"data": {}
}Error Responses
400 Bad Request401 Unauthorized404 Not Found429 Too Many Requests