The snooping allegations, based on documents leaked by fugitive former US defense contractor Edward Snowden, indicate that US spy agencies accessed the electronic communications of dozens of world leaders and likely millions of foreign nationals.