Kidnapping in Syria, hostage negotiations, and rescue attempt
During the Syrian Civil War, Foley continued working as a freelancer for GlobalPost, in addition to other media outlets, such as Agence France-Presse. On November 22, 2012, Foley was kidnapped by an organized gang after departing from an internet café with British journalist John Cantlie, in northwestern Syria while on their way to the Turkish border. Their taxi driver and Foley's translator were not taken. Foley and Cantlie were reportedly working on a film depicting Cantlie's previous abduction and dramatic rescue by four members of the Free Syrian Army in July 2012. Sources close to the family said that they believed Foley was kidnapped by the Shabiha militia, a group loyal to Syrian President Bashar al-Assad. He was later reportedly held in a Syrian Air Force Intelligence complex in Damascus.
During negotiations from November to December 2013, Foley's captors demanded €100 million in ransom (approximately US$132 million) from Foley's family, GlobalPost (his employer), and the U.S. in exchange for his release. The chief executive officer of GlobalPost, Philip Balboni, stated that the company spent millions on efforts to bring Foley home, including hiring an international security firm, Kroll Inc. In September 2013, the firm was able to locate Foley and track his location. He was moved many times during his captivity. Kroll's research led to GlobalPost reporting that Foley was being held in a Damascus prison run by Syrian Air Force Intelligence, along with at least one other Western journalist, possibly Austin Tice. This information turned out to be false—Foley was never held by the Syrian government or Syrian loyalists and was instead in the hands of the Islamist group that would come to be known as ISIS.
In June 2014, ISIS released Danish photojournalist and fellow hostage Daniel Rye Ottosen, and Ottosen called Foley's family to recite a memorized message that came to be known as Foley's final letter. In it, Foley addressed members of his family, and described his captivity in a cell with seventeen other hostages, who passed the time with improvised strategy games and lectures. The family released the letter on their Facebook page shortly after Foley's death.
In July 2014, U.S. President Barack Obama authorized a "substantial and complex" rescue operation after the U.S. intelligence community said a "broad collection of intelligence" led them to believe that the hostages were being held at a specific location in Syria. However, the mission failed because the hostages had been moved. The operation involved special operations forces from multiple branches of the US military, including: the 160th Special Operations Aviation Regiment, helicopters, fixed wing aircraft, and drones. When Delta Force commandos landed in the eastern Syrian city of Raqqa, they were met with gunfire, and it became apparent that the hostages had been moved. ISIS suffered numerous casualties, while American forces suffered a single minor injury. The operation was only declassified after Foley's death. It represented the first confirmation of U.S. troops operating on the ground within Syria during the Syrian Civil War.
On August 12, 2014, ISIS sent Foley's parents an email saying that U.S. government—unlike other governments—had refused to pay ransoms or negotiate prisoner exchanges, and saying that they would kill Foley. The email's authors said they had left the U.S. alone since its "disgraceful defeat in Iraq," but would "avenge" the U.S. bombings, initially with the death of Foley. John Foley, the father of James, said he did not realize how "brutal" his captors were. Even after receiving the email, he held out hope that his son's release could still be negotiated. The family had reportedly been preparing to break U.S. law by offering to pay a ransom for his release. Due to his nationality, Foley's captors subjected him to regular torture and mock executions during his captivity.