The application shall be in writing, signed by the applicant, and under oath, and shall state the place where the person is supposed to be imprisoned or restrained of his liberty, and by whom; and a copy of the warrant or precept, if any, under which he is confined shall be annexed to the application.
N.H. Rev. Stat. Ann. § 534:4
Form
Source
Official source: New Hampshire General Court. Reproduced from public-domain New Hampshire statutes; confirm against the official source for the current text. Not legal advice.