Skip to main content

SDK Libraries

SpitShake provides official SDK packages for embedding signing forms and template builders into your application, and for interacting with the SpitShake API programmatically.

@spitshake/react

React components for embedding SpitShake signing forms and template builders.

Installation

SpitShakeForm

Renders a signing form for a specific submitter.

SpitShakeBuilder

Renders the template builder for creating and editing templates.

Props Reference

SpitShakeForm Props

SpitShakeBuilder Props


@spitshake/vue

Vue 3 components for embedding SpitShake signing forms and template builders.

Installation

SpitShakeForm

SpitShakeBuilder

Vue components use kebab-case for props (submitter-slug, with-title) and native Vue event syntax (@loaded, @completed).

@spitshake/react-native

React Native components for embedding SpitShake signing forms and template builders in mobile applications. Components render inside a WebView.

Installation

react-native-webview is a required peer dependency.

SpitShakeForm

SpitShakeBuilder

React Native components accept an additional style prop for controlling the WebView container layout. Use flex: 1 to fill the available screen space.

@spitshake/angular

Angular components for embedding SpitShake signing forms and template builders. Supports Angular 14 and above.

Installation

Module Setup

Import the SpitShakeModule in your Angular module:

SpitShakeFormComponent

SpitShakeBuilderComponent

Angular components use property binding syntax ([prop]="value") and event binding syntax ((event)="handler($event)").

@spitshake/n8n-nodes-spitshake

Custom n8n nodes for automating document signing workflows. Provides trigger and action nodes that integrate directly with the n8n visual workflow editor.

Installation

Install the community node in your n8n instance:
Or install via the n8n community nodes UI: Settings > Community Nodes > Install > @spitshake/n8n-nodes-spitshake.

Available Nodes

SpitShake Trigger

Listens for webhook events from SpitShake and starts a workflow when they fire. Supported trigger events:

SpitShake Action

Performs operations against the SpitShake API. Supported operations:

Credential Setup

  1. In n8n, go to Credentials > New Credential > SpitShake API.
  2. Enter your SpitShake instance URL and API token.
  3. Click Test to verify the connection.

Example Workflow

A workflow that creates a submission when a new row is added to Google Sheets, then sends a Slack notification when signing completes:
  1. Google Sheets Trigger — fires when a new row is added.
  2. SpitShake Action — creates a submission with data from the spreadsheet row.
  3. SpitShake Trigger — listens for form.completed events.
  4. Slack Action — posts a notification to a channel.

@spitshake/cli

A command-line tool for managing templates, submissions, and account settings from the terminal. Useful for scripting, CI/CD pipelines, and batch operations.

Installation

Configuration

Set your SpitShake instance URL and API token:
The configuration is stored in ~/.spitshakerc:

Commands

Templates

Submissions

Bulk Operations

Settings

Use spitshake --help or spitshake <command> --help for detailed usage information on any command.

@spitshake/api

A typed TypeScript/JavaScript client for the SpitShake REST API. Works in Node.js, Deno, Bun, and browser environments.

Installation

Configuration

Templates

Submissions

Download documents

Submitters

Webhooks

Users

Settings

Audit Events

Error Handling

TypeScript Types

The client exports TypeScript types for all request and response objects: