API ReferenceOCR

Run OCR (Sync)

POST
Run OCR on an Base64 encoded image or PDF. This endpoint will block until the OCR is complete.

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
invoice
object
vendor
object
check
objectOptional
bankAccount
objectOptional