Businesses can use this annotation feature to watermark user PDFs or images, authenticating the captured information and its intended use case with customizable text. The text's position, font size, and font color can be tailored to meet specific business requirements.

This annotation could be configured with the following journeys:

  • PAN OCR
  • Aadhaar OCR
  • Voter ID OCR
  • Driving Licence OCR
  • E-Sign
  • Any other document

📘

The base64 format should be "data:application/jpg;base64,base64 string"

Journey Input Data

{
        "doc_s3_url": "",
        "doc_base64":"",
        "watermark_text": [
            {
                "key": "key",
                "value": "value1"
            }
        ]
    }

Journey Output Data

{
  "status": "DUMMY_STATUS",
  "message": "DUMMY_MESSAGE",
  "status_code": "DUMMY_STATUS_CODE",
  "transaction_id": "DUMMY_TRANSACTION_ID",
  "journey_transaction_id": "DUMMY_JOURNEY_TRANSACTION_ID",
  "journey_id": "DUMMY_JOURNEY_ID",
  "data": {
    "insights": {
      "user_document_annotation": [
        {
          "data": {
            "watermarked_doc_s3_url": "DUMMY_WATERMARKED_DOC_URL",
            "watermarked_doc_base64": "DUMMY_WATERMARKED_BASE64"
          }
        }
      ]
    }
  }
}

📘

Currently no journey included pre-configured watermarking. To add these watermarking, please contact your Account Manager.

Status Codes

ScenarioHttp Status Codestatusstatus_codemessage
The watermarked document/ image is successfully shared.200SUCCESSsuccessRequest successful
Invalid image200FAILUREinvalid_inputInvalid Image, please upload a valid image
Invalid Client Credentials401FAILUREinvalid_credentialsInvalid Client Credentials
Both formats(Base 64 and URL) are entered400FAILUREinvalid_requestEnter only one Base 64 or URL
None of the inputs (Base 64 or URL) provided400FAILUREinvalid_requestOne of the inputs Base 64 or URL is required
Unsupported media types400FAILUREinvalid_requestInvalid file type, only PNG, JPG, and JPEG files are allowed
Image too large400FAILUREinvalid_requestFile size exceeds the maximum limit of 2MB
Invalid Base 64400FAILUREinvalid_requestInvalid base64 content
Invalid URL400FAILUREinvalid_requestInvalid URL
Any unhandled error from Equal end500FAILUREinternal_server_errorSomething went wrong, please try again.
Too many requests429No object will be sent, throttling happens at the gateway level.
Service Unavailable503

Status (Journey Status)

Possible ValuesDescription
SUCCESSShows that the verification process was completed successfully.
FAILUREIndicates that the verification process did not succeed.
IN_PROGRESSSignifies that the verification process is currently underway and has not yet been completed.

Decision

Possible ValuesDescription
CLEARIndicates that the verification has been completed and the information is confirmed as accurate and legitimate.
MUST REVIEWSignifies that further review is needed due to potential issues or inconsistencies in the verification results.
NEEDS REVIEWSuggests that the verification has identified areas that require further investigation or clarification before a final determination can be made.

📘

Journey ID will be shared as part of Onboarding

KeyDescription
statusThe current status of the transaction (e.g., DUMMY_STATUS).
messageA message providing additional information about the status (e.g., "DUMMY_MESSAGE").
status_codeThe code representing the status of the transaction (e.g., "DUMMY_STATUS_CODE").
transaction_idA unique identifier for the transaction (e.g., "DUMMY_TRANSACTION_ID").
journey_transaction_idA unique identifier for the journey transaction (e.g., "DUMMY_JOURNEY_TRANSACTION_ID").
journey_idThe unique identifier of the journey associated with the transaction (e.g., "DUMMY_JOURNEY_ID").
doc_s3_urlThe S3 URL pointing to the document.
doc_base64The base64 encoded version of the document.
watermark_textAn array containing the watermark text for the document.
keyThe key associated with the watermark text.
valueThe value corresponding to the watermark text key (e.g., "value1").
insightsAn object containing various insights related to the transaction.
user_document_annotationAn array containing annotation data related to the user’s document.
dataAn object containing additional data within the user document annotation.
watermarked_doc_s3_urlThe S3 URL pointing to the watermarked document.
watermarked_doc_base64The base64 encoded version of the watermarked document.
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!