post
https://app.eraser.io/api/folders
Creates a new folder. Order is auto-assigned if omitted.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Example request
curl --location 'https://app.eraser.io/api/folders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $YOUR-TOKEN-HERE' \
--data '{
"name": "Design Docs"
}'An example request with explicit order and parent:
curl --location 'https://app.eraser.io/api/folders' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $YOUR-TOKEN-HERE' \
--data '{
"name": "Subfolders",
"parentFolderId": "xK9mPq2vR",
"order": 3
}'Example response
{
"id": "xK9mPq2vR"
} 400Invalid request body
401Missing or invalid bearer token
403Unauthorized
500Internal server error