Folders

List folders

Folders of one kind of item, as in the admin: General first, with id 0, then the others in the admin's order. Every folder comes in one page, with the number of its live items (counts). Call it for the folder_id the item lists filter by and update_widgets moves into, and for the ids update_folder renames.

get/v1/sites/{site_id}/folders

Request

  • Base URL
    https://api.getsitecontrol.com
  • Auth
    HTTP bearer

Path parameters

site_idinteger required

Query parameters

type'widget' | 'segment' | 'broadcast' | 'automation' required

The items a folder holds. widget: widgets. segment: contact segments. broadcast: e-mail broadcasts. automation: automations.

The items the folders hold; a folder belongs to one kind

Response

Successful Response

next_cursorstring nullable

Always null: every folder comes in one page

Changes

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