GET /ocr/{request_id}/text
Retrieves the text of a document from OCR results after processing has completed. The result is the text string which represents the OCR text from the document respectively.
Headers
Authorization (required) - Requires the standard authentication header used in the system.
Parameters
-
request_id Path Required
the OCR request to return the document text. This is the OCR identifier returned from a successful POST /ocr response (request_id)
-
200 OKThe response successfully returned
-
403 ForbiddenInvalid or missing authentication token.
-
404 Not FoundThe OCR request does not exist, has been cleaned up, or not finished.
-
500 Internal Server ErrorSomething went wrong unrelated to the users request or the OCR failed and there is an error message.
Response Data
-
request_id
the id used in the GET /ocr request
-
text
the text for the document being OCR’d
-
error
if an error occurs, you may get a standard error response
{
"request_id": "<request_id>",
"text": "Exhibit ... "
}
Need Help?
Couldn’t find the information you were looking for or need more assistance?
Contact Support