> ## Documentation Index
> Fetch the complete documentation index at: https://docs.contractag.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Mini signnow app

This 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

<iframe width="560" height="315" src="https://www.youtube.com/embed/L8V69D-Wtg8?si=9E6LeoJqnqLS8fxP" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />

***

## Example Implementation: Mini SignNow App

This example demonstrates integrating Contractag's API into a document signing workflow. Here's how we built it:

1. **Basic Frontend**: Users can provide the name and email of the recipient, attach a contract PDF, and send it for signing.
2. **Upload Document**: Send PDF to `POST /fields` to extract all detectable fields.
3. **Field Validation**: Display extracted fields with confidence scores for review.
4. **Signature Placement**: Use bounding boxes to position signature fields automatically.
5. **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](/api/endpoints/overview).

***

## Next Steps

* Request a Contractag API key via email at [support@contractag.dev](mailto:support@contractag.dev)
* Experiment with the API using the [Playground](/api/playground)
* Contact [support@contractag.dev](mailto:support@contractag.dev) for integration help
