WASHINGTON — Two organizations of documentary filmmakers filed a federal lawsuit today arguing that new rules requiring U.S. visa applicants to register their social media handles are making them fearful of publicly speaking their minds.

State Department rules took effect in May and apply to more than 14 million applicants each year, requiring them to register all their social media handles from the past five years on about 20 different online platforms. The requirement includes pseudonyms. The department said collecting the additional information from more applicants “will strengthen our process for vetting these applicants and confirming their identity.”

The information can be retained indefinitely and shared around to U.S. government agencies, and in some cases, to other governments, the lawsuit said.

The two organizations that brought the lawsuit, Doc Society and the International Documentary Association, did so because their members regularly collaborate with non-U.S. filmmakers and other partners, inviting them to the U.S. to talk about their films and screen their works. They host pitch events and collaborative conferences.

The new regulations are making some members unwilling to travel to the U.S. out of concern their information will be collected and mishandled and some are scared to speak publicly for fear their information will be collected and misused, the lawsuit argues.

“In recent months, authoritarian and other rights-abusing regimes, including some U.S. allies, have used information gleaned from social media to identify, locate and detain human rights advocates, journalists and political dissidents, and even, in some instances, to have them killed.”

The lawsuit notes that Homeland Security experimented before with using information culled through social media to identify national security threats and to screen visa applicants, but an internal watchdog report found in 2017 that process didn’t establish social media screening as an effective tool.

“We regularly work with filmmakers for whom the ability to maintain anonymity online can be a matter of life and death,” said Jess Search, director of Doc Society Inc., said in a release. “As an organization committed to filmmaker safety, we believe the registration requirement is a deeply troubling and oppressive development, forcing filmmakers to choose between free online expression and their own security. The U.S. government should be championing freedom of expression, not taking actions which will inhibit it.”

The plaintiffs are asking a judge to rule the requirement unlawful and stop the policy.

The International Documentary Film Association, founded in 1982, includes more than 2,700 members who pay dues in 53 different countries. The association’s 2019 IDA Documentary Awards will honor Syrian filmmaker Waad Al-Kateab for her film documenting the siege of Aleppo. The association funds collaborative events encouraging international partners to work together.

Doc Society’s Good Pitch Program features 130 film projects from 60 different countries, raising more than $30 million for filmmakers in a decade.

The film organizations are represented by the Knight First Amendment Institute at Columbia University and the Brennan Center for Justice.

Social media, email and phone number histories had only been sought in the past from applicants who were identified for extra scrutiny, such as people who had traveled to areas controlled by terrorist organizations. An estimated 65,000 applicants per year had fallen into that category.

The new rules apply to virtually all applicants for immigrant and nonimmigrant visas. When it filed its initial notice to make the change, the department estimated it would affect 710,000 immigrant visa applicants and 14 million nonimmigrant visa applicants, including those who want to come to the U.S. for business or education.