N.Y. Social Services Law § 384
1. Method. The guardianship of the person and the custody of a child who is not in foster care under the age of eighteen years may be committed to an authorized agency by a written instrument which shall be known as a surrender, and signed:
3. Instrument. The instrument herein provided shall be executed and acknowledged (a) before any judge or surrogate in this state having jurisdiction over adoption proceedings, except that if the child is being surrendered as a result of, or in connection with, a proceeding before the family court pursuant to article ten or ten-A of the family court act, the instrument shall be executed and acknowledged in the family court that exercised jurisdiction over such proceeding and shall be assigned, wherever practicable, to the judge who last presided over such proceeding; or (b) in the presence of one or more witnesses and acknowledged by such witness or witnesses, in the latter case before a notary public or other officer authorized to take proof of deeds, and shall be recorded in the office of the county clerk in the county where such instrument is executed, or where the principal office of such authorized agency is located, in a book which such county clerk shall provide and shall keep under seal. Such record shall be subject to inspection and examination only as provided in subdivisions three and four of section three hundred seventy-two of this title. Notwithstanding any other provision of law, if the parent surrendering the child for adoption is in foster care the instrument shall be executed before a judge of the family court. Whenever the term surrender or surrender instrument is used in any law relating to the adoption of children who are not in foster care, it shall mean and refer exclusively to the instrument hereinabove described for the commitment of the guardianship of the person and the custody of a child to an authorized agency by his parents, parent or guardian; and in no case shall it be deemed to apply to any instrument purporting to commit the guardianship of the person and the custody of a child to any person other than an authorized agency, nor shall such term or the provisions of this section be deemed to apply to any instrument transferring the care and custody of a child to an authorized agency pursuant to section three hundred eighty-four-a of this chapter. Any person or persons having custody of a child for the purpose of adoption through an authorized agency shall be permitted as a matter of right, as an interested party, to intervene in any proceeding commenced to set aside a surrender purporting to commit a guardianship of the person or custody of a child executed under the provisions of this section. Such intervention may be made anonymously or in the true name of said person. Any person or persons having custody for more than twelve months through an authorized agency for the purpose of foster care shall be permitted as a matter of right, as an interested party, to intervene in any proceeding commenced to set aside a surrender purporting to commit the guardianship of the person and custody of a child executed under the provisions of this section. Such intervention may be made anonymously or in the true name of said person or persons having custody of the child for the purpose of foster care. A copy of such surrender shall be given to such surrendering parent upon the execution thereof. The surrender shall include the following statement: "I, (name of surrendering parent), this ___ day of __________, _____, have received a copy of this surrender. (Signature of surrendering parent)". Such surrendering parent shall so acknowledge the delivery and the date of the delivery in writing on the surrender. Where the parties have agreed that the surrender shall be subject to conditions pursuant to subdivision two of this section, the instrument shall further state in plain language that: