Extract text from given image
POST/ai/advancedocr
Extracts text and specific data from documents, supporting OCR and specialized workflows.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
urlstring
The URL to the document.
Example:
https://icseindia.org/document/sample.pdf
bufferstring
The Base64-encoded buffer. Can be provided instead of url
.
resultTypestringrequired
Result type specifies the output type.
Possible values: [ocr
, extractions
]
Example:
ocr
workflowstringrequired
A workflow outlines steps for processing documents, including analysis, extraction, and transformation. It uses unique identifiers to track and retrieve results for each document.
Example:
invoice_extraction
languagestring
The language of the uploaded document.
Possible values: [cs
, de
, en
, fr
, pl
, es
, nl
, ja
, sk
]
Example:
en
documentTypestring
The type of the uploaded document.
Example:
invoice
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
- string
- number
property name* object
anyOf
string
number
{}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}