Skip to main contentThis demo video shows an example of how we used Contractag’s REST API to build a mini SignNow-like app for extracting and validating fields from legal documents.
Demo Video
Example Implementation: Mini SignNow App
This example demonstrates integrating Contractag’s API into a document signing workflow. Here’s how we built it:
- Basic Frontend: Users can provide the name and email of the recipient, attach a contract PDF, and send it for signing.
- Upload Document: Send PDF to
POST /fields
to extract all detectable fields.
- Field Validation: Display extracted fields with confidence scores for review.
- Signature Placement: Use bounding boxes to position signature fields automatically.
- Document Preparation: Ensure all required fields are present before sending for signatures.
Users can adapt this approach to their preferred e-signature platforms or custom workflows.
Note: We can also incorporate a human-in-the-loop step where fields can be verified and adjusted as needed.
Warning: The output of geometry dimensions is not supposed to be correct for this example.
API Endpoints Used
POST /fields
- Extract all fields from a PDF
GET /fields/{document_id}
- Retrieve extracted fields by document ID (with optional page parameter)
For full API documentation, see the API Reference.
Next Steps