Solutions
worksection
beta
help
Getting the list of project folders through API: get_project_groups
Sample get_project_groups request
?action=get_project_groups
Returns all project folders info
Returned data:
- id — folder ID
- title — folder name
- type — folder type:
folder — user folder (created by an account user)
company — team folder (created automatically after team creation)
- client — team folder type:
0 — your company team
1 — external client team
Sample JSON response
If the request succeeds, the response will contain ok status and the following data:
{"status": "ok","data": [{"id": "GROUP_ID","title": "GROUP_NAME_1","type": "folder"},{"id": "GROUP_ID","title": "GROUP_NAME_2","type": "company","client": 0},{"id": "GROUP_ID","title": "GROUP_NAME_3","type": "company","client": 1}]}
Leave your review
Did this article help you?
Glad we could help! What was helpful?
Sorry this didn't help. What went wrong?