---
title: "Pdf Rotate"
method: POST
path: "/api/pdf-rotate"
tags: ["PDF Processing"]
---

# Pdf Rotate

`POST /api/pdf-rotate`

## Request

- Base URL: `https://toolsthatdontupload.com`
- URL: `https://toolsthatdontupload.com/api/pdf-rotate`
- Auth: one of:
  - none
  - API key in header `X-API-Key`

## Response `200`

Resulting PDF

## Other responses

- `400`: Bad Request: missing or invalid field, for example the file sent as a text value instead of a file part (code file_not_binary), or an angle that is not a multiple of 90 (angle)
- `405`: Method Not Allowed: send a POST with multipart/form-data
- `413`: Payload Too Large: uploads are limited to 15 MB per request
- `422`: Unprocessable Entity: the file is not a PDF (code not_pdf), is encrypted or permission-protected (encrypted), or is damaged (invalid_pdf)
- `429`: Anonymous daily limit for file calls reached (20 per IP per day); use a free API key

---

[API](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api.md) · [All operations](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api/revisions/fc4cea318919?raw)
