TypeScript · Integration

Add E-Signatures to SvelteKit

Send documents for legally binding e-signature from your SvelteKit application. One endpoint, no SDK required.

Quick start

  1. Get an API key from signb.ee (free, no credit card)
  2. Set SIGNBEE_API_KEY in your environment
  3. Add the code below to your app

SvelteKit example

TypeScript
// src/routes/api/send/+server.ts
import { json } from '@sveltejs/kit';
import { SIGNBEE_API_KEY } from '$env/static/private';

export async function POST({ request }) {
  const body = await request.json();
  const res = await fetch('https://signb.ee/api/send', {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${SIGNBEE_API_KEY}`,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify(body),
  });
  return json(await res.json());
}

What happens

  1. Your app sends markdown or a PDF URL to Signbee
  2. Signbee generates a PDF (if markdown) and emails the recipient a signing link
  3. Recipient signs — both parties receive the signed PDF with SHA-256 certificate

Also works with AI agents

Install the MCP server to let Claude, Cursor, or Windsurf send documents directly:

npx -y signbee-mcp

Related resources

Try Signbee — free, no credit card.