Method create.group_contacts
Description Creating an Address Book Contact Group
Available to Agent, Client

Request parameters

Title Type Required Description
access_token string yes Authentication session key
user_id number no Unique user identifier of the client agent on behalf of which the request is made
Is required for the agent
To obtain a list of client users, you must use the method "get.customer_users"
name string yes Contact group name
members array no A list of unique contact IDs that are members of the group. The list of contacts can be obtained using the "get.contacts" method

Response parameters

Title Type Required Description
id number yes Unique address book contact group identifier

JSON request structure```json

{ "jsonrpc":"2.0", "method":"create.group_contacts", "id":"number", "params":{ "access_token":"string", "user_id":"number", "name":"string", "members":[ "contact_id" ] } }

### JSON response structure```json
{
  "jsonrpc":"2.0",
  "id":"number",
  "result":{
    "id":"number"
  }
}

List of returned errors

See the section "List of errors for methods with the create verb"