Politwoops will once again be able to collect and publish the deleted tweets of American politicians after Twitter announced Thursday that it reached a deal with the organizations that run the website.

Twitter revoked Politwoops’s access to its API, the back-end code used by developers of other applications, earlier this year. Christopher Gates, the president of the Sunlight Foundation, a transparency group that runs the website in partnership with the Open State Foundation and Access Now, wrote at the time that Twitter’s decision “truly mystified” him.

Politwoops has helped shine a light on apparent attempts by politicians to distance themselves from their remarks on Twitter. Perhaps the most notable case was when several politicians deleted tweets praising the release of Sgt. Bowe Bergdahl by captors in Afghanistan after questions arose about the soldier’s past actions.

Mr. Gates said the Sunlight Foundation was notified when it started Politwoops in 2012 that its use of the API violated Twitter’s terms of service, but after implementing a “layer of journalistic judgment” they were able to continue operating “with blessings from Twitter.”