Documents
Upload and Process (Local)
View DocsAPI Reference
Authorization
ApiKeyAuth access-key<token>
Your unique access-key generated from the platform UI
In: header
Request Body
multipart/form-data
file*file
Document file to upload (PDF, DOCX, PPTX). Maximum 100 pages per document.
Format
binaryResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.k-v.ai/api/doc/process_doc" \ -F file="string"{
"value": {
"data": {
"doc_process_id": "c71a96e072b581f1108dbc5f7a93cd54",
"transactions_utilised": 117
},
"message": "Document Processed Successfully"
}
}{
"value": {
"data": {},
"message": "Unsupported file"
}
}{
"value": {
"data": {},
"message": "Invalid or missing access key"
}
}{
"value": {
"data": {},
"message": "File size exceeds maximum limit of 100 pages"
}
}{
"value": {
"data": {},
"message": "Something went wrong"
}
}