---
title: "Manually route a document and start extraction"
method: POST
path: "/documents/{document_id}/route"
tags: ["Documents"]
---

# Manually route a document and start extraction

`POST /documents/{document_id}/route`

## Request

- Base URL: `https://api.pdfparse.net/v1`
- URL: `https://api.pdfparse.net/v1/documents/{document_id}/route`
- Auth: HTTP bearer

Resolve an unclassified document by assigning a destination table in the active project. The document is claimed once and extraction starts immediately.

## Path parameters

- `document_id` string, required

## Headers

- `Idempotency-Key` string: Scopes replay protection to the authenticated project, method, and route for 24 hours.

## Request body

- object
  - `tableId` string, required

## Response `202`

Success

- object
  - `success` true, required
  - `jobId` number, required
  - `workflowId` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Workflow error

---

[API](https://skmtc.dev/pdfparse/apis/pdfparse-api.md) · [All operations](https://skmtc.dev/pdfparse/apis/pdfparse-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pdfparse/apis/pdfparse-api/revisions/fb9f7c930c6d?raw)
