/v1/workspaces/{workspaceId}/documents/{documentId} endpoint.options parameterProcessingInstruction schema for available options.curl --location --request POST 'https://test.your-api-server.com/v1/workspaces//documents' \
--header 'Authorization: Bearer <token>' \
--form 'extRef=""' \
--form 'options=""' \
--form 'file=@""'{
"documentId": "string",
"workspaceId": "string",
"fileName": "string",
"fileHash": "string",
"fileSize": "string",
"mimeType": "string",
"uploadedAt": "string",
"extRef": "string",
"options": {
"extract": {
"split": {
"enabled": false
},
"logo": {
"enabled": false
},
"extensions": {
"lineItems": {
"enabled": false
},
"energyDetails": {
"enabled": false
},
"creditCardDetails": {
"enabled": false
},
"insuranceDetails": {
"enabled": false
}
}
},
"reconcile": {
"enabled": false,
"config": {
"businessRegistryEnrichment": false,
"addressNormalization": false
}
},
"deliver": {
"webhook": {
"url": "http://example.com"
},
"response": {
"content": {
"enabled": false,
"config": {
"format": "ORIGINAL",
"location": "REMOTE"
}
},
"layout": {
"enabled": false
},
"thumbnails": {
"enabled": false,
"config": {
"maxWidth": 128
}
},
"text": {
"enabled": false
}
}
},
"security": {
"redact": {
"enabled": false,
"config": {
"mode": "BLACKOUT",
"categories": [
"NAMES",
"ADDRESSES"
]
}
}
},
"lifecycle": {
"retention": {
"enabled": false,
"config": {
"days": 30,
"purgeOnComplete": false
}
}
}
}
}