In the article, a representation of the solution of a Cauchy-type problem for a high-order equation with a fractional Hilfer derivative is obtained. The uniqueness of the solution of the stated problem is shown. The obtained solutions are applied to obtain a unique solution of the Cauchy problem for the equation of forced vibrations of the beam.