Developer SDKs

Drop the HTTP boilerplate.
Ship KYC in 10 lines.

Official client libraries for the FlowAI API — TypeScript-native and fully typed in both languages. MIT licensed, GitHub CI, copy-paste ready.

✦ TypeScript (CJS + ESM) ✦ Python 3.9–3.12 ✦ Async support ✦ Webhook verification
TS

@flowai/node

Node.js · TypeScript · v0.1.0

install npm install @flowai/node
CJS + ESM dual build Full TypeScript types triage() bulkTriage() verifyWebhook() FlowAIError / RateLimitError / AuthError Node 18+ (native fetch)

Quickstart

import { FlowAI } from '@flowai/node';

const client = new FlowAI({
  apiKey: process.env.FLOWAI_API_KEY
});

const decision = await client.triage({
  applicant_name: 'Jane Doe',
  nationality: 'US',
  id_document: '<base64>',
});

console.log(decision.decision);   // APPROVE | ESCALATE | REJECT
console.log(decision.risk_score);  // 0–100
Py

flowai

Python 3.9–3.12 · requests + httpx · v0.1.0

install pip install flowai
Type hints + py.typed triage() bulk_triage() verify_webhook() flowai.aio (async/httpx) FastAPI example pytest CI 3.9–3.12

Quickstart

from flowai import FlowAI, KYCCase

client = FlowAI(api_key="flw_test_...")

decision = client.triage(KYCCase(
  applicant_name="Jane Doe",
  nationality="US",
  id_document="<base64>",
))

print(decision.decision)   # APPROVE | ESCALATE | REJECT
print(decision.risk_score)  # 0–100
⚠ npm / PyPI publishing pending — We're finalizing registry credentials. Until then, install directly from Git:

Node: npm install github:pedro-santiago/flowai-node
Python: pip install git+https://github.com/pedro-santiago/flowai-python.git

Both repos are public, MIT licensed, and CI-green. Production-equivalent in everything except the package registry listing.
Feature matrix
Feature @flowai/node flowai (Python)
triage()
bulkTriage() / bulk_triage()
verifyWebhook() / verify_webhook()
Async variant native async/await flowai.aio (httpx)
Full TypeScript / type hints
Error classes (RateLimit, Auth)
Examples (basic, bulk CSV, webhook)
GitHub Actions CI Node 18/20/22 Python 3.9–3.12
MIT License + CODEOWNERS
Ruby / Go / Java SDKs roadmap

Start building today

Get a free sandbox key — 50 triage calls/day, no card required.