---
title: Deskew PDF API
slug: deskew-pdf-pages
url: https://apyhub.com/flowdocs/service/deskew-pdf-pages
provider: FlowDocs
categories: [File Conversion, File Manipulation]
tags: [pdf-deskew, pdf-processing, document-cleanup, file-manipulation, batch-jobs]
auth: api_key
---

# Deskew PDF API

Deskew scanned PDF pages and track each job by status and progress. Get corrected PDFs back as binary output for cleanup and indexing workflows.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Deskews uploaded PDF pages to correct small angle tilts. It accepts one or more PDF fi… | 50 |
| GET | `/status/:job_id` | What it does Returns the current status of a deskew PDF job identified by jobid. The response inclu… | 1 |
| GET | `/download/:job_id` | What it does Downloads the finished deskewed PDF output for a completed job. The jobid path paramet… | 5 |
| GET | `/overall-status` | What it does Returns the aggregate progress for one or more deskew jobs identified by the jobids qu… | 1 |

## About

## What it does
PDF Deskew straightens scanned or photographed PDF pages that have small angle tilts. Send one or more PDF files in the `files` array, and the service creates deskew jobs for each upload.

Use it when you need to clean up scans before archiving, indexing, or extracting text. The POST endpoint returns a `jobs` array with `job_id`, `filename`, `status`, and `progress`, so you can track each file as it moves from `queued` to `processing` to `done` or `failed`.

Poll `GET /status/:job_id` for a single job’s `job_id`, `status`, `progress`, and optional `error`. When a job is finished, `GET /download/:job_id` returns the corrected PDF as binary output.

If you are handling batches, `GET /overall-status` lets you check progress across multiple job IDs in one request. It returns aggregate `status` and `progress`, plus `total_files`, `completed_files`, and per-job `details` so you can surface batch completion in your own workflow.

> **Note:** Pricing is 1 atom per page + 50.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/flowdocs/service/deskew-pdf-pages
