Jack Dorsey tweeted the account on Tuesday, asking: "Are citizens of Iran able to read your tweets?" The reply said he was working to ensure they would "comfortably b able 2 access all info globally as is their right". Mr Dorsey replied: "Please let us know how we can help to make it a reality."
Sites such as Facebook, Twitter and YouTube are banned in Iran, although many Iranians bypass restrictions using virtual private networks (VPNs).
Iran's new administration, which came to power in August, has taken to social media, using it as a diplomatic tool to engage with the rest of the world. Iran's Foreign Minister Javad Zarif has an active Facebook page, as does Oil Minister Bijan Zanganeh.
Mr Rouhani, whose campaign slogan was "moderation and wisdom", has had a presence on Twitter since running for election. He made headlines for apparently posting a New Year message to Iranian Jews, and for chronicling his recent groundbreaking telephone conversation with US President Barack Obama.
But there has been some confusion over who is actually operating Mr Rouhani's Twitter account. The president's Twitter handle has not been authenticated by Twitter, which puts a blue tick on profiles it confirms are genuine. After Mr Rouhani's Jewish New Year tweet, his office told reporters that the account was controlled by those close to the president but that he did not personally author the tweets.
Source: BBC News