Add contact to group

Endpoint: https://account.mobilesasa.com/api/groups


# Headers Params Response
1 Content-Type: application/json

{
"api_key": "api_key"
}

{
    "code": 1,
    "message": "success",
    "groups": [
        {
            "GroupID": "60cb9630-5127-11e9-95c3-7feac8e8c84d",
            "GroupName": "name",
            "GroupDescription": "description"
        },
        {
            "GroupID": "f23c7fe0-4fa3-11e9-86fb-3b9a6ce3c9fb",
            "GroupName": "new group",
            "GroupDescription": "new"
        }
    ]
}
2 Accept: application/json
3 Authorization: Bearer access_token

Curl example:


curl -X POST \
  https://account.mobilesasa.com/api/groups \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer access_token' \
  -H 'Content-Type: application/json' \
  -d '{
  "api_key": "your_api_key"
}'