Trump also thanked the Secret Service agents who protected him and offered his condolences to the rally attendees who died.
One person was confirmed dead and two others seriously injured in the shooting.
The suspected shooter, a 20-year-old Pennsylvania man, was shot and killed by a Secret Service agent less than a minute after the first shots were fired at Trump’s rally.
Sir Keir: “I’m appalled”
British Prime Minister Keir Starmer was one of the first leaders to express shock and send a message of support for Trump.
“I am appalled by the shocking scenes at President Trump’s rally and my thoughts go out to him and his family. Political violence in any form has no place in our society and my hearts go out to all the victims of this attack,” Sir Keir said.
Australian Prime Minister Anthony Albanese called the attack “alarming and confrontational” and expressed relief that Trump had survived.
“There is no place for violence in the democratic process,” Albanese said.
Prime Minister Benjamin Netanyahu said he and his wife, Sara, were “shocked by this apparent attack on President Trump.”
“We pray for his safety and speedy recovery,” the Israeli prime minister added.
Canadian Prime Minister Justin Trudeau, who has a rocky relationship with Trump, said on TVX that he was “disgusted” by the shootings.
“It cannot be emphasized enough that political violence will never be tolerated,” Trudeau said.
Mexican President Andres Manuel Lopez Obrador called the violence “irrational and inhumane.”
“We must resolutely stand up against any violence that challenges our democracy,” said Kishida Fumio, the Japanese leader whose former prime minister, Shinzo Abe, was assassinated at a political event two years ago.