Fetch Active OCR Templates Action

Fetch all the active OCR templates in an org.

Use this action to automate OCR template selection for the text extracted from an uploaded document.

This action is available in API version 58.0 and later for users with the AWSTextract1000LimitAddOn or IntelligentDocumentReaderAddOn license.

URI: /services/data/vXX.X/actions/standard/fetchActiveOcrTemplates

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

InputTypeDescription
documentTypeIdstringOptional. The ID of the document type associated with the OCR template.
Note: You can specify up to 20 document type IDs.
targetObjectsstringOptional. The comma-separated list of target object API names associated with the OCR template.
OutputTypeDescription
ocrTemplatesstringThe comma-separated list of OCR template records that match the specified document type ID and target objects.

Sample Request

Sample Response