Programmatically upload PDFs, detect fields, and generate editable forms.
Include your API key in the X-API-Key header with every request.
curl -H "X-API-Key: fp_your_key_here" https://smartdocpilot.com/smartForm/documents/doc_id/fields
Sign in to the app first, then generate a key. It is shown once — store it securely.
What a key can do depends on your plan. Free account: a test key, 20 calls a day, watermarked PDFs, and Make Editable on documents up to 5 pages. Subscription: 2,000 calls a day, clean PDFs, and Make Editable up to 100 pages. Make Editable through the API counts toward the same daily limit as in the app.
Base URL https://smartdocpilot.com/smartForm. Replace DOC_ID with a document id from the upload response. Upload, generate and reprocess are rate-limited and metered against your key.
multipart/form-data with a file field. Returns the document id and field count. Add ?skip_analysis=true to store the file without running detection.curl -X POST https://smartdocpilot.com/smartForm/documents \ -H "X-API-Key: fp_your_key" \ -F "file=@form.pdf"
curl https://smartdocpilot.com/smartForm/documents/DOC_ID/fields -H "X-API-Key: fp_your_key"
password; query params watermark and flatten. Returns the generated PDF path.curl -X POST https://smartdocpilot.com/smartForm/documents/DOC_ID/generate \
-H "X-API-Key: fp_your_key" -H "Content-Type: application/json" \
-d '{"password": ""}'{"fieldValues": {"field_id": "value"}} (optional password).curl -X POST https://smartdocpilot.com/smartForm/documents/DOC_ID/generate-filled \
-H "X-API-Key: fp_your_key" -H "Content-Type: application/json" \
-d '{"fieldValues": {"p1_text_0001": "Jane Doe"}}'application/pdf).multipart/form-data, repeated files). Detection is run later per-document via reprocess.X-Session header). Optional JSON {"name": "..."} to label it. The key is returned once.X-API-Key.