# 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). Application:

    • PeerId - supported. Automatically converted to CallId within the application and added by it.

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

    • InstanceId - supported. Automatically converted to CallId within the application and added based on it.

  • groupId — Group identifier

  • requestId - unique request identifier. More details can be found here

See also: