formable-sdk is the official Java SDK for the Formable API (v1). It covers templates, signature requests, redlining, and billing.
- Typed request and response models
- Uses the JDK
HttpClient(Java 17+) - One runtime dependency: Jackson Databind
Installation
Initialize the client
Pass your API key from Settings. It’s sent as a bearer token on every request.Templates
Upload a document to create a reusable template, then mint edit URLs to place fields in the embedded editor. See the embedded templates walkthrough.Signature requests
Send a template for signing by email, or embed the signing experience in your product. See the embedded signing walkthrough.getSignedEnvelope throws a 409 until the document is complete. Wait for the document_completed webhook, or poll get until status is Completed.Redline requests
Run turn-based contract negotiation before signing. See the redlining walkthrough.Billing and health
Error handling
All non-2xx responses throw aFormableException with the server’s error message, HTTP status, and parsed response body.
Configuration
The builder takes an API key, then optionalbaseUrl, timeout, and JDK HttpClient values.
Next steps
Quickstart
Go from a plain document to a signed PDF in 4 calls.
API reference
Every endpoint the SDK wraps, with a live playground.