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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.claritycare.ai/llms.txt

Use this file to discover all available pages before exploring further.

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"
}