The writ of habeas corpus, if issued by the court, shall be under the seal of the court, or if by a judge, under his hand; and shall be directed to the person in whose custody the applicant is detained. To the end that no officer, sheriff, jailer, keeper, or other person to whom such writ is directed may pretend ignorance thereof, every such writ shall be endorsed with these words, By the Habeas Corpus Act.
SDCL 21-27-8