Push Annotated Text for a Document to KlearStack
Endpoint Name: gettext
Request type : POST
Authorization: Bearer token as header
Endpoint Details: The gettext
endpoint will be used to push annotated text for a document to KlearStack.
Method
URL
POST
URL/access/klearstack/gettext
Request Body
Params
Values
Description
company_name
string
Name of the company for which the user is logging in
collection_name
string
Name of collection of document
ocr_text_id
string
ID received from key “ocr_id” of response from api getdocument
coordinates
string
JSON list of co-ordinates
Example : [top_left_x,top_left_y,bottom_right_x,bottom_right_y]
API Response
Status code
Example Response
200
{
"text": [
"27"
],
“release_version”:”7.8.9”
}
Last updated