POST
/v1/documents

Upload a PDF to a folder (max 50 MB). Processing runs automatically. Use GET /v1/folders/{id}/documents for extractions.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/documents" \  -F file="string"
{
  "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
  "status": "queued",
  "file_name": "string",
  "file_size": 0,
  "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
  "created_at": "2019-08-24T14:15:22Z",
  "message": "string"
}
Empty
Empty