Endpoint
GET/folders
This API method returns a list of folders for the team.
Authorization required.
If called without authorization, the request will not return an error but will return folders for the demo team.
| Parameter | Description |
|---|---|
| search | case insensitive string anywhere in a folder name |
| page | the page number for pagination, default 0 |
| limit | the number of items per page, default 100 |
curl https://state.sk/api/folders \
-H 'x-api-key: state_xxxxxxxxxx'
{
"items": [
{ "id": 42, "name": "Primary", "color": "blue" },
{ "id": 7, "name": "Secondary", "color": "yellow" }
],
"total": 2,
"offset": 0,
"limit": 100
}