Skip to main content

Resize PDF pages.

POST 

/pdf/pages/resize

Resize PDF pages.

Request

Header Parameters

    ipaas string

Bodyrequired

    urlstring

    The PDF URL.

    bufferstring

    The PDF as a Base64-encoded buffer. Can be specified instead of url.

    getAsUrlboolean

    Whether the result PDF should be returned as a URL. Default is false.

    Example: true
    widthnumberrequired

    The new width in points.

    heightnumberrequired

    The new height in points.

    pagesstringrequired

    The pages that should be resized. Given as a range of pages, where 1 means the first page and ^1 means the last page.

    Example: 1,3-5,^3-^1
    fileNamestring

    The file name of the result PDF. Default is a random ID.

Responses

Success

Schema
    urlstringrequired

    The result PDF URL.