Skip to content

Overview

Starter Apps

Clone a SignatureAPI starter app for Express, Next.js, FastAPI, Laravel, Rails or ASP.NET Core: send a document, verify webhooks, download the signed PDF.

Each starter is a small, complete app on GitHub that you can use as a template. They all do the same four things, so pick the one in your stack:

  1. Send. A form takes a signer’s name and email. The app uploads a sample PDF and creates an envelope.
  2. Sign. SignatureAPI emails the signer a signing link. In test mode, no email is sent.
  3. Track. A webhook endpoint verifies each event’s signature and updates the agreement’s status.
  4. Download. A completed agreement links to its signed PDF. The app gets a fresh download URL on each click.

Framework Starters

FrameworkStackRepository
ExpressNode.js, TypeScript, SQLitesignatureapi-express-starter
Next.jsApp Router, TypeScript, SQLitesignatureapi-nextjs-starter
FastAPIPython, SQLModel, Jinja2signatureapi-fastapi-starter
LaravelPHP, Laravel 12, Blade, SQLitesignatureapi-laravel-starter
Ruby on RailsRails 8, SQLitesignatureapi-rails-starter
ASP.NET Core.NET 8, Razor Pages, EF Coresignatureapi-dotnet-starter

Run a Starter

Every starter runs on http://localhost:3000 with a test API key, so nothing you try is binding or billed. The README of each repository has the exact commands for its stack. They follow the same pattern:

1

Get the code

Select Use this template on GitHub, or clone the repository, and install its dependencies.

2

Add a test API key

Run npx --yes signatureapi init in the project folder. The CLI signs you in and writes a test key to the app’s .env file.

3

Start the app and forward webhooks

Start the app, then forward test webhooks to it from a second terminal, as the README shows. Open http://localhost:3000 and send an agreement.

Embedded Signing Demos

These demos show signing inside your own app instead of by email:

DemoWhat it showsRepository
WebAn iframe host page, a demo server and end-to-end testssignatureapi-web-integration-demo
MobileNative iOS (SwiftUI) and Android (Compose) apps, with end-to-end testssignatureapi-mobile-integration-demo

The Embedded guides explain each step these demos take.

Next Steps