get/keywords_2/folders

Method description

Use to get a list of folders.

If a request contains show_trash = 1, it returns deleted folders as well.

Method parameters

Parameter Type Description Default
Required
project_id int Project ID
Additional
view enum('tree', 'flat') Result format:
  • flat - a standard results array
  • tree - instead of an array returns an object with the elements: folder objects and keys equal to the folders parent_id
flat
show_trash int boolean Display folders that were moved to the temporary trash bin 0

View in API explorer