List folders (flat, cursor-paginated)
Vorschauget
https://api.expiryedge.com/v2/foldersany member of an organization60/min
Anfrage
curl 'https://api.expiryedge.com/v2/folders?limit=50' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY"Antwort
{
"data": [
{
"id": "fol_123",
"name": "Example name",
"parent_folder_id": "fol_123",
"folder_path": "/Licenses/Dental",
"organization_id": "org_123",
"user_id": "use_123",
"is_deleted": true,
"created_at": "2026-09-27T14:05:00.000Z",
"updated_at": "2026-09-27T14:05:00.000Z"
}
],
"next_cursor": "string",
"has_more": true
}Folders that are not deleted, ordered by id, as stored (parent_folder_id, folder_path) - not the
nested tree v1 getAllFolders returns.
parent_folder_idstringOnly children of this folder;root= top-level folders.sortstringErlaubtidcursorstringOpaquenext_cursorfrom the previous page. Only valid with the samesort.limitintegerPage size, 1-100 (values above 100 are clamped; default 50).Standard50min: 1 · max: 100
200
A page of folders.
dataarray of objectserforderlichnext_cursorstring | nullerforderlichhas_morebooleanerforderlich
400 | Invalid parameters or body ( VALIDATION_FAILED; details names the fields). |
401 | Missing, invalid or expired token ( UNAUTHORIZED). |
403 | Your role can't do this, or your account has no organization ( FORBIDDEN). |
405 | Wrong HTTP method for this path; the Allow header lists the valid ones. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
