The first robot to be granted a visa was a Japanese robot named "Sophia" - Apparently.
In 2017, Sophia, a humanoid robot developed by Hanson Robotics, was granted a visitation visa to the United Arab Emirates. The robot was allowed to enter the country for a period of three months, making it the first robot to receive a visa in the country's history. Sophia was created to simulate human-like conversations and has since been used in various high-profile events and interviews, including a meeting with the United Nations.