Skip to content
Browse all functions

Rotate PDF Pages

files/rotatepdfpages

rotatepdfpages (Rotate PDF Pages) is a 1001fx API function in the group Files & PDF: POST https://api.1001fx.com/files/rotatepdfpages, 3 credits per call. It works as a ready-made module in Make or as a plain HTTP call.

3 credits per callHTTP APIMake

Rotates all or selected pages of a PDF clockwise by 90, 180 or 270 degrees. Returns the PDF.

Endpoint

POSThttps://api.1001fx.com/files/rotatepdfpages
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
multipart/form-data

Parameters

  • filefileoptional

    The PDF. Either file or fileUrl.

  • fileUrlstringoptional

    Public URL of the PDF. Either file or fileUrl.

    Example:
    https://api.1001fx.com/testdata/3pages.pdf
  • pagesstringoptional

    Pages to rotate, e.g. 1-3,7 (first page = 1). Empty: all pages.

    Example:
    1-2
  • angleenumrequired

    Clockwise, added to the current rotation.

    Values:
    90
    180
    270
    Example:
    90

Examples

Rotate PDF Pages

Rotate PDF Pages

Input

Expects multipart/form-data or a json body
{
  "fileUrl": "https://api.1001fx.com/testdata/3pages.pdf",
  "pages": "2",
  "angle": "90"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/files/rotatepdfpages' \
  -H 'X-API-KEY: YOURSECRETAPIKEY'

Try rotatepdfpages now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.001.11.2026created