This tutorial provides a step-by-step guide on how to use the Extracta.ai API for extracting data from documents.
Before you begin, ensure you have access to a REST client or a tool like Postman, or set up an environment in your preferred programming language to make HTTP requests.
extractionDetails
JSON structure with the required fields (name
, language
, fields
).base64String
or have the URL ready if the document is hosted online.POST
Example request body:
{
"extractionDetails": {
"name": "Your Extraction Name",
"language": "English",
"fields": [
{
"key": "name",
"description": "Person's name",
"example": "Jane Doe"
}
// Add other fields as required
]
},
"file": "Your Document in base64String or URL"
}