Embed Forms & API Access
Build complex forms without code. Ship production-ready intake workflows with FormFlow’s REST API, iFrame embeds, and 99.99% uptime webhooks. Full SDKs for Node.js, Python, and Go.
Code Examples
Drop FormFlow into your stack in under three lines. Our embed script auto-resizes, respects your theme tokens, and triggers predictable lifecycle events.
React Embed Component
Mount a live form with dynamic field mapping and client-side validation hooks.
import { FormFlowEmbed } from '@formflow/react';
export function PatientIntake() {
return (
<FormFlowEmbed
formId="ff_8x9k2m"
onSubmit={(payload) => console.log('Lead captured:', payload)}
theme={{ primary: '#0F172A', radius: '8px' }}
/>
);
}
Node.js Webhook Handler
Verify signatures, parse JSON payloads, and sync to your CRM or database.
const express = require('express');
const app = express();
app.post('/webhooks/formflow', express.json(), (req, res) => {
const { formId, entries, timestamp } = req.body;
// Verify HMAC signature in req.headers['x-formflow-signature']
syncToDatabase(formId, entries);
res.status(200).send('Processed');
});
Python SDK Submission
Batch-create submissions or pre-fill fields from external data sources.
import formflow
client = formflow.Client(api_key="sk_live_4f8a9c2d")
client.submissions.create(
form_id="ff_8x9k2m",
fields={
"department": "Engineering",
"priority": "high",
"attachment_url": "https://cdn.example.com/schematics.pdf"
}
)
Integration Flow
Design deterministic data pipelines. FormFlow’s event bus guarantees exactly-once delivery with exponential backoff and dead-letter queue routing.
1. Provision & Scope
Generate scoped API keys in the Dashboard. Restrict permissions to `forms:read`, `submissions:write`, or `webhooks:manage`. Rotate keys without downtime using our dual-key swap endpoint.
2. Configure Routing
Attach webhook endpoints to specific form versions. Filter triggers by field changes, status transitions, or conditional logic branches. Test payloads instantly with the built-in request inspector.
3. Build & Scale
Orchestrate multi-step approvals, trigger serverless functions, or sync to Snowflake/BigQuery. Our rate limits start at 1,200 requests/minute and scale automatically with your plan tier.
Ready to extend your stack?
Get your API credentials, access the OpenAPI 3.1 spec, and join the developer community on Discord. Support engineers respond to technical tickets within 2 hours during business hours.