DocVision offers three ways to integrate with your documents:
The API provides three endpoints for document management:
POST /api/webhook/{webhookId}/document/upload
Upload documents via URL (recommended), multipart form data, or base64.
curl -X POST https://app.doc-vision.com/api/webhook/{webhookId}/document/upload \
-H "Authorization: {your-webhook-secret}" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/documents/invoice.pdf"
}'POST /api/webhook/{webhookId}/document/get
Retrieve document status and extracted data by document ID.
curl -X POST https://app.doc-vision.com/api/webhook/{webhookId}/document/get \
-H "Authorization: {your-webhook-secret}" \
-H "Content-Type: application/json" \
-d '{
"docId": "doc_abc123xyz"
}'POST /api/webhook/{webhookId}/document/delete
Permanently delete a document and all associated data.
curl -X POST https://app.doc-vision.com/api/webhook/{webhookId}/document/delete \
-H "Authorization: {your-webhook-secret}" \
-H "Content-Type: application/json" \
-d '{
"docId": "doc_abc123xyz"
}'All endpoints require your {webhookId} from Organization Settings.
Optionally configure a webhook secret and include it in the Authorization header:
Authorization: {your-webhook-secret}