• FAQ
  • API
  • Members
  • Creating a team for account users through API: add_user_group

Creating a team for account users through API: add_user_group


Sample add_user_group request 

?action=add_user_group&title=USER_GROUP
Creates account user team
*if there are no teams with same name

Required parameters:
  • title — team name

Optional parameters:
  • client 1 for an external client team and 0 for your company 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": "USER_GROUP_NAME",
        "type": "company",
        "client": 1
    }
}