code: public ApiResponse<CurrentSession> getCurrentSessionWithHttpInfo() throws ApiException {
          com.squareup.okhttp.Call call = getCurrentSessionValidateBeforeCall(null, null);
          Type localVarReturnType = new TypeToken<CurrentSession>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get information about the current user
  Get information about the current user, including any existing media logins, calls, and interactions. The returned user information includes state recovery information about the active session. You can make this request at startup to check for an existing session.
  @return ApiResponse&lt;CurrentSession&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body