# acceptPeer

Description

Accept a request from a user to join your conference.

void acceptPeer(string sPeerId)

Parameters

Name Description
sPeerId Unique user identifier (TrueConf ID). It is advisable to use those obtained from: On_requestInviteReceived, getAppState.

Response example

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

Response Parameters

Name Description
requestId A unique request identifier
result A flag indicating whether the request was successful

See also

Last Updated: 09/12/2025