Skip to content
Seal
Esc
↑↓navigate↵open⌘Jpreview

Export every page of a draft PDF as images

Rasterises each page via poppler (pdftoppm) in the pdf-tools container and returns a ZIP artifact (page-N.png|jpg) with a download_url. Artifact model — the working draft is unchanged. Honours the org egress.allow_convert gate.

POST/documents/pdf/export-images
Authorization
AuthorizationBearer token · headerrequired

Pass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.

Request body
requiredapplication/json
idstringrequired
formatstring
default: "png"
Allowed:pngjpeg
dpinumber
min 50 · max 600 · default: 150
Responses
200

Images ZIP created

successboolean
storage_idstring
sizeinteger
formatstring
dpinumber
download_urlstring | null
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST "https://api.seal.nyc/api/v1/documents/pdf/export-images" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "string",
  "format": "png",
  "dpi": 150
}'
Response
{
  "success": true,
  "storage_id": "string",
  "size": 0,
  "format": "string",
  "dpi": 0,
  "download_url": "string"
}