The Extract PDF Form Data endpoint lets you read data from a fillable PDF. It extracts all form fields in the document along with their current values and returns them as a JSON object.
You can either upload a new PDF file directly or provide the documentId of an existing file stored on the server.
File type: .pdf
The PDF file to be processed. Used when uploading a new file directly.
The ID of an already uploaded file stored on our server.
The response is a flat object where each key is a form field name and each value is that field's current value. The value type depends on the underlying PDF field type:
1curl -X POST "https://api.pdfgate.com/forms/extract-data" \2 -H "Authorization: Bearer YOUR_API_KEY" \3 -F "file=@YOUR_FILE.pdf"1{2 "full_name": "Jane Doe",3 "email_address": "[email protected]",4 "agree_to_terms": true,5 "country": ["United States"],6 "subscription_plan": "premium",7 "preferred_languages": ["English", "Spanish"],8 "signature_field": null9}