• FAQ
  • API
  • Members
  • Creating a contact folder through API: add_contact_group

Creating a contact folder through API: add_contact_group


Sample add_contact_group request

?action=add_contact_group&title=CONTACT_GROUP
Creates account contacts folder
*if there are no folders with same name

Required parameters:
  • title — contacts folder name

Sample JSON response
If the request succeeds, the response will contain ok status and the following data:

{
    "status": "ok",
    "data": {
        "id": "CONTACT_GROUP_ID",
        "title": "CONTACT_GROUP",
        "type": "folder"
    }
}