We are sorry. The service is currently down due to maintenance activities. The service interruption will take no more than 30 minutes.


Logs in the user identified by the userId parameter to Chatwee. Call this method whenever user logs into your service.


  require_once(dirname( __FILE__ ) . "/ChatweeV2_SDK/Chatwee.php");


  try {
    $sessionId = ChatweeV2_SsoManager::loginUser(Array(
      "userId" => "507f191e810c19729de860ea"
    echo "The user has been logged in with the following session ID: " . $sessionId;
  } catch(Exception $exception) {
    echo "An error occured: " . $exception->getMessage();
Name Description Type Mandatory Remarks
userId ID of the user string yes the value obtained from the ChatweeV2_SsoManager::registerUser method