cURL
curl -X POST https://api.okrapdf.com/document/my-doc/upload-url \ -H "Authorization: Bearer okra_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "https://example.com/report.pdf"}'
{ "phase": "idle", "urls": { "status": "<string>", "page_images": "<string>", "viewer": "<string>" } }
Provide a URL and OkraPDF fetches, stores, and processes the PDF. Returns 202 with status and page image URLs.
API key as Bearer token: Authorization: Bearer okra_xxx
Authorization: Bearer okra_xxx
Document ID
URL to fetch PDF from
Page image rendering strategy
none
cover
lazy
Upload accepted
idle
uploading
parsing
hydrating
verifying
awaiting_review
complete
error
Show child attributes