# addToGroup

Description: add a user to a group in the address book.

Request example:

{
    "method" : "addToGroup",
    "requestId" : "1",
    "groupId" : 268435454,
    "peerId" : "user1@some.server"
}

Response example:

{
    "method" : "addToGroup",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • peerId - unique user identifier (TrueConf ID). Applicability:

    • PeerId - supported. Within the application, it automatically converts to CallId and is then added based on it.

    • CallId - supported. The specified identifier will be added to the group.

    • InstanceId - supported. Inside the application, it is automatically converted to CallId and then added based on it.

  • groupId — Group identifier

  • requestId - a unique request identifier. You can learn more about it here.

See also: