The story starts with Franz Anton Mesmer (1734 to 1815), who claimed an invisible fluid he called animal magnetism passed between living things. He set up practice in Paris in 1778. In 1784 King Louis XVI appointed a commission that included Benjamin Franklin, Antoine Lavoisier and Joseph-Ignace Guillotin, and its blinded trials found no fluid, putting the effects down to "imagination," as Wikipedia's Mesmer entry describes.
The Scottish surgeon James Braid saw a magnetism show by Charles Lafontaine in Manchester on 13 November 1841. He then produced the same effects by having people fix their eyes on a small bright object, credited concentrated attention instead of any fluid, published Neurypnology in 1843, and adopted the word "hypnotism" to separate his method from the mesmerists, per his Wikipedia biography. Later Hippolyte Bernheim moved the focus to spoken suggestion, and in 1959 Weitzenhoffer and Hilgard published the Stanford scale that labs still use to measure who responds, as the main Wikipedia article notes.
The American Psychiatric Association adopted its first position statement on the subject in 1961 and revised it in 2015, saying it should be used by licensed, trained professionals after a proper medical and psychiatric evaluation (APA position statement, 2015).