All docs
Developer platform · 3 min read

TypeScript SDK

@flowsdesigner/sdk — typed wrapper around every endpoint.

``bash npm install @flowsdesigner/sdk ``

```typescript import { FlowsDesigner } from '@flowsdesigner/sdk'

const fd = new FlowsDesigner({ apiKey: process.env.FD_KEY! })

const { contacts } = await fd.contacts.list({ limit: 20 }) await fd.messages.send({ to: '+971501234567', message: 'Hi 👋' }) await fd.flows.trigger('cmp123', { phone: '+971501234567', variables: { name: 'Aman' } }) ```

Resources

fd.contacts · fd.conversations · fd.messages · fd.flows · fd.webhooks · fd.gitops

Errors throw FlowsDesignerError with status, message, and body. Zero runtime deps — uses native fetch. Works on Node 18+ and modern browsers.