Skip to main content
GET
folders
curl -G "https://postsyncer.com/api/v1/folders" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  --data-urlencode "workspace_id=12" \
  --data-urlencode "root=true"

List folders

Returns folders from every workspace you can access, unless you narrow with query parameters.

Query parameters

  • workspace_id — only folders in that workspace (must be one of your active workspaces).
  • root=true — only top-level folders (parent_id is null).
  • parent_id — only direct children of that folder (folder must belong to a workspace you can access).
Requires the posts token ability (same as media upload).

Request

curl -G "https://postsyncer.com/api/v1/folders" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  --data-urlencode "workspace_id=12" \
  --data-urlencode "root=true"

See also

Create folder