BEIRUT, Lebanon — An American traveler from St. Louis was on a quest to visit every country in the world. He had only 10 to go when he decided to travel to Syria.

Within two days of entering the country, he disappeared.

Two months of captivity later, the traveler, Sam Goodwin, 30, has been reunited with his family, his parents said on Friday.

There was no information available on Friday about how Mr. Goodwin was detained, or by whom. His parents said in a brief statement that Abbas Ibrahim, the head of Lebanese internal security, had helped negotiate his release.

“We are grateful to be reunited with our son Sam,” the parents, Thomas and Ann Goodwin, said in a statement. “Sam is healthy and with his family.”