API ReferenceOCR

Run OCR (Async)

POST
Run OCR on an Base64 encoded image or PDF. This endpoint will return immediately and the OCR will be processed asynchronously.

Request

This endpoint expects an object.
mimeType
stringRequired
MIME type of the image. Supported types are image/png, image/jpeg, and application/pdf.
image
stringRequired
Base64 encoded image or PDF. PNG, JPG, WEBP, and PDF are supported. 10MB max.
vendorNetwork
enumOptional
Limit OCR vendor search to a specific network
Allowed values: allplatformentity
entityId
stringOptional
When using the Entity vendor network, specify the entity to use if. EntityId on an auth token will take precedence over this parameter.

Response

This endpoint returns an object
jobId
string