# List folders `GET /api/v1/files/folders` Lists the available folders in name order. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Files → Read**. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request GET \ --url "https://api.asdincloud.com/api/v1/files/folders" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" ``` ## Response **200 OK** Returns an array of folder records and their parent IDs in `data`. Example with fictional data and selected fields. ```json { "status": "success", "data": [ { "id": 20, "name": "Club forms", "friendly_name": null, "parent_id": null, "is_folder": true } ] } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission.