He believed Greenwald was jumping to conclusions based on partial information. Greenwald has worked with Edward Snowden over material Mr Snowden obtained relating to the activities of spy agencies worldwide.
Mr Key refused to discuss Greenwald's other claims about New Zealand spying on countries such as China or the programmes it used, saying he would not talk about New Zealand's spy work overseas.
"There are a variety of reasons why, in the international environment we collect information. But when it comes to New Zealanders, there is no mass surveillance, there never has been mass surveillance. Dotcom's little henchman is wrong and unfortunately, he might have hacked some information but not all of it."
Watch: John Key defends GCSB Bill
Greenwald will be speaking at Kim Dotcom's highly anticipated announcement, billed as the "Moment of Truth", on Monday.
Mr Key said he would respond to Greenwald's revelations on Monday "in the fullness of time." "But mark my words, I'm right and he's wrong and I'll prove I'm right."
Read more
• Key: I'll resign if GCSB conducts mass surveillance
• Powerful US spy tools were set for NZ installation
• Snowden docs: GCSB links to US spying programmes:
Greenwald responded to Mr Key's attack, tweeting: "Does the Prime Minister think that bizarre ad honimen attacks against me will make the facts - and the documents - disappear?"
He also rejected suggestions that he was on Mr Dotcom's payroll, saying Mr Dotcom had offered to pay his standard speaking fee but that he had said he should give it to charity. He added that only his travel expenses had been paid, and that he had already disclosed this.
Last year Mr Key said he would have to resign if the GCSB was shown to have conducted mass surveillance because it would have been illegal. That related to the new GCSB Bill which defined the circumstances in which the spy agency could spy on New Zealanders on behalf of the SIS or Police.
Mr Key said he still stood by that. He had been reassured by the GCSB they had not conducted mass surveillance.
He said the GCSB provided support to agencies such as the SIS and Police when required, but that was very targeted.
"It's primary aim is to gather foreign intelligence. It's done that over successive governments."
Mr Key said he did not know if the GCSB had received mass surveillance metadata on New Zealanders from its Five Eye partners, but he did not believe it had.
Watch: GCSB not collecting data on New Zealanders
He also tried to attack Greenwald's credibility for working with Mr Dotcom, saying Mr Dotcom was trying to "gerrymander the election."
"Let's understand what's going on here. Kim Dotcom is paying Glenn Greenwald to come to New Zealand a week before an election and he's trying to influence New Zealanders. Problem is, he's got his story wrong."
Under the law, the GCSB can not spy on New Zealanders unless it is on behalf of an agency such as the SIS or Police and it has a warrant to do so.
Mr Key said such cases included suspected terrorists and other issues relating to security.
New Zealanders should be entitled to privacy - Cunliffe
Labour leader David Cunliffe said the Prime Minister may not be fit for office if he has misled New Zealanders about the extent of mass surveillance they had been subjected to from its spying agencies.
This morning in Mangere, Mr Cunliffe told reporters that if evidence emerged that Mr Key had mislead the public, it was "extremely serious".
"I would be extremely upset if the pledges that have been made to New Zealand around our freedom from mass surveillance prove to be false.
"If the Prime Minster of the country has lied to New Zealand, I expect New Zealanders to react in the ballot box.
"The Prime Minister is our only real check and balance on the intelligence establishment. This goes to his right to hold office."
Labour wants a full review of intelligence services and to repeal the GCSB law changes made last year, and replace it with a law that is "more protective of New Zealanders' rights to privacy and freedom".
Mr Cunliffe said the review would decide the appropriate level of surveillance, but the average New Zealander should be able to keep their metadata private.
"New Zealanders should be entitled to a right of privacy ... Those are all difficult issues and they'll need to be very carefully considered, but New Zealanders expect the Government to be straight with them and they expect their Prime Minister to tell the truth."
But he hinted that New Zealand could reduce the amount of information it shared with other countries at the expense of its relationships with America, Canada, the UK and Australia.
"New Zealand under a Labour-led Government always puts New Zealand's interests first and has an independent foreign policy, and that won't change under the next one."
Documents reveal communication interception - Greenwald
Changes to the law governing the Government Communications Security Bureau last year mean that the agency can now legally spy on New Zealanders, but Prime Minister John Key said that he would resign if the changes lead to mass surveillance of New Zealanders.
He made the comments last year in August when the law was being changed. He also said the GCSB had not collected "wholesale" communications metadata about New Zealanders.
Mr Greenwald said he has been working on documents for months, which revealed the interception of emails, telephone calls and all types of communications.
"The statement from the GCSB to New Zealand citizens last year that they do not engage in mass surveillance on New Zealanders is one that is not truthful.
"What I can tell you for certain is that the Government does engage in extraordinary amounts of analysis of metadata - meaning who's talking to who and for how long... on a massive indiscriminate scale.
"Not just internationally, but on New Zealanders as well."
He said New Zealand spent an "extraordinary amount of resources" for a country of its size on electronic surveillance.
"New Zealand spies on a variety of countries on behalf of the United States."
- with additional reporting by APNZ