Solutions
worksection
beta
help
Getting the list of user team names through API: get_user_groups
Sample get_user_groups request
?action=get_user_groups
Returns account user teams list
Returned data:
- id — team ID
- title — team name
- client — team 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","type": "company","client": 0},{"id": "GROUP_ID","title": "GROUP_NAME","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?