API & SDK

Build anything on top of the platform

A clean, modern API and SDKs for frontend and backend workflows.

SDK features

Form Platform provides a comprehensive set of SDKs and tools to help you build forms quickly. Whether you're building a React app, a static site, or a Node.js backend, we have the tools you need. All SDKs include full TypeScript support and are designed to be simple, predictable, and reliable.

Universal JavaScript/TypeScript SDK (formr)

React components for quick integration (formr-ui)

CLI tool for development workflows (formr-cli)

Full TypeScript support with autocomplete

Works in Node.js, Edge runtimes, and browsers

Automatic validation and error handling

Publishable keys for client-side use

Secret keys for server-side operations

Developer tools

Playground

CLI

Examples

Start building

Get started with our clean, modern API and SDKs for frontend and backend workflows.

FAQ

Form Platform provides a universal JavaScript/TypeScript SDK (formr) that works in Node.js, Edge runtimes, and browsers. We also offer React components (formr-ui) for quick integration and a CLI tool (formr-cli) for development workflows. All SDKs include full TypeScript support.

Yes, the formr SDK works in browsers, Node.js, and Edge runtimes. For client-side use, use publishable keys (pk_live_... or pk_test_...) which are safe to expose in frontend code. The SDK handles validation, submission, and error handling automatically.

The formr-ui package provides pre-built React components that handle form rendering, validation, and submission. Components consume form schemas from the API and automatically match your form configuration. Perfect for Next.js, Remix, or any React app.

Yes, formr-cli provides development tooling for managing forms locally. You can validate schemas, test submissions, and manage forms from the command line. Install via npm and use npx formr-cli to get started.

Install the SDK via npm: `npm install formr`. Import and initialize with your API key, then use the SDK methods to submit forms, fetch form schemas, or manage submissions. Full documentation and examples are available in the docs.