Skip to main content
GET
/
ocr
/
v1
/
{id}
/
download
/
{type}
Download OCR results
curl --request GET \
  --url https://api.case.dev/ocr/v1/{id}/download/{type} \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

OCR job ID returned from the initial OCR request

type
enum<string>
required

Format to download: text (plain text), json (structured data with coordinates), pdf (searchable PDF with text layer), original (original uploaded document)

Available options:
text,
json,
pdf,
original

Response

OCR result file download

The response is of type file.