According to the US outlet, “a powerful Qatari interlocutor and close ally of the country’s prime minister” was in the Oval Office with Trump and Netanyahu to make sure Netanyahu stayed on script.
The apology took place in a phone call made from the Oval Office that Trump organized and was present for during a meeting between him and Netanyahu.
Shortly after the phone call, the White House released its plan for ending the war. Trump, at a press conference alongside Netanyahu, then said "Israel" and the Arab world had accepted the plan.