New York does not require a permit to purchase for long guns. There is a permit requirement for handguns. Permits for the purchase of handguns are given on a "shall issue basis". Thee is a fee for every handgun that is added to the permit.
See New York's state description for information on New York City
+Q: Does New York require owners to register their firearms with the police?