Folder API

List Folder Contents

List the direct items in a folder. Leave folder_id unset to list the root.

get/v2/folder-contents

Request

Query parameters

teamIdstring required

The ID of the team.

itemType'FOLDER_ITEM_TYPE_UNSPECIFIED' | 'FOLDER_ITEM_TYPE_FOLDER' | 'FOLDER_ITEM_TYPE_WORKFLOW' | 'FOLDER_ITEM_TYPE_GUIDANCE' required

Types of items that can appear in folder contents.

The non-folder item type of the folder tree to list.

folderIdstring

The folder whose direct items should be listed. Unset lists the root.

pageSizeinteger

Maximum number of results to return. Default is 1000, maximum is 2000.

pageTokenstring

Token for pagination. Leave empty for the first request.

Response

Success

nextPageTokenstring nullable

Token for retrieving the next page of results. Empty if no more results.

Changes

No recorded changes to this operation across all 1 revision of this API.