SDKs

Generated BlendDuck clients for eight languages.

Documentation owner:
BlendDuck Documentation
Last reviewed:

BlendDuck generates TypeScript, Python, Go, Java, PHP, Ruby, .NET, and Rust clients from /openapi.json. All clients expose the same 25 organization-scoped operations.

TypeScript

import { BlendDuckClient } from "@blendduck/sdk";

const client = new BlendDuckClient({
  apiKey: process.env.BLENDDUCK_API_KEY,
});

const channels = await client.listChannels();
const post = await client.createPost({
  body: {
    mode: "draft",
    content: "Hello from BlendDuck",
    targets: [{ channelId: channels.data[0].id }],
  },
});

Use a least-privilege organization key from an environment variable or secret manager. Never embed it in browser code or a command-line argument.

See the REST API reference for authentication, pagination, idempotency, errors, rate limits, and the complete OpenAPI contract. Use the CLI when a shell workflow is a better fit than an SDK.