{"category":"documents","endpoint":"https://setget.net/v1/tools/pdf-rotate","examples":[{"input":{"angle":90,"file":"sample.pdf"},"title":"Turn every page a quarter turn to the right"},{"input":{"angle":180,"file":"sample.pdf","pages":"2"},"title":"Turn page 2 upside down"},{"input":{"angle":270,"file":"sample.pdf","pages":"odd"},"title":"Turn the odd pages to the left"}],"input_schema":{"additionalProperties":false,"properties":{"angle":{"default":90,"description":"Degrees to turn clockwise. 270 is a quarter turn to the left.","enum":[90,180,270],"type":"integer"},"file":{"description":"The PDF to rotate.","examples":["sample.pdf"],"format":"setget-file","type":"string","x-accept":["pdf"]},"pages":{"description":"Pages to turn. Page numbers and ranges separated by commas, such as 1-3,5,8- (8- means page 8 to the end). odd, even and last also work. Left empty, every page is turned.","examples":["2"],"maxLength":500,"type":"string"},"password":{"description":"The password of the PDF, if it is locked. It is used once to open the file and is never stored or shown. The result is not locked.","maxLength":256,"type":"string"}},"required":["file"],"type":"object"},"keywords":["rotate pdf","turn pdf pages","pdf upside down","fix sideways pdf","rotate scan","pdf orientation","landscape pdf","flip pdf pages","rotate pdf pages","pdf rotator"],"related":["pdf-extract-pages","pdf-split","pdf-merge","pdf-to-images","ocr-pdf"],"slug":"pdf-rotate","summary":"Turn all pages of a PDF, or only the pages you choose, by 90, 180 or 270 degrees clockwise.","tier":"job","timeout_seconds":180,"title":"Rotate PDF pages","url":"https://setget.net/tools/pdf-rotate"}
