Skip to main content
Flux provides official SDKs for Node.js, Python, Go, and Ruby. Each SDK provides idiomatic access to the Flux API with built-in retry logic, type safety, and error handling.

Installation

The Node.js SDK supports Node 18+ and includes TypeScript definitions.

Configuration

Initialize the client with your API key:

Configuration Options

Error Handling

The SDK throws typed errors that you can catch and handle:

Next Steps

Send Events

Learn how to send and structure events

Webhooks

Receive events in real-time