Skip to main content
POST
/
v1
/
process
/
ocr
curl --request POST \
  --url 'https://prior-auth-api.claritycare.ai/v1/process/ocr' \
  --header 'Authorization: Bearer {cognito_login_token}' \
  --header 'Content-Type: application/json' \
  --data '{"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."}'
{
  "text": "Extracted text from the image"
}

OCR Image

Perform OCR on an image using AWS Textract.

API Request

image
string
required
Base64 encoded image

Response

text
string
Extracted text from the image
curl --request POST \
  --url 'https://prior-auth-api.claritycare.ai/v1/process/ocr' \
  --header 'Authorization: Bearer {cognito_login_token}' \
  --header 'Content-Type: application/json' \
  --data '{"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."}'
{
  "text": "Extracted text from the image"
}