Rotate

Rotate allows all pages in a document to be rotated in a given direction. Each page can also be rotated in different directions. The rotation directions available are clockwise, anti-clockwise and upside-down.

Header Parameters

Accept-EncodingString

gzip, deflate, br (OPTIONAL)

Content-TypeString

multipart/form-data; boundary= (calculated when request is sent)(OPTIONAL)

X-RapidAPI-KeyString, Required

Provide your RapidAPI-Key

X-RapidAPI-HostString, Required

pdf4me.p.rapidapi.com

Required Parameters

rotationTypeENUM

Allowed values are

  • clockwise
  • counterclockwise
  • upsidedown

Request Body

FileBINARY, Required

Input PDF file

Response

FileBINARY

The file after rotation

File NameString

The file name of the document