Solutions
worksection
beta
help
Getting the list of contact folder names through API: get_contact_groups
Sample get_contact_groups request
?action=get_contact_groups
Returns account contact folders list
Returned data:
- id — folder ID
- title — folder name
- type — folder type:
preset — contact folder, created by default
folder — contact folder, created by account user
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": "preset"},{"id": "GROUP_ID","title": "GROUP_NAME","type": "folder"}]}
Leave your review
Did this article help you?
Glad we could help! What was helpful?
Sorry this didn't help. What went wrong?