Docs
Sendack docs
Sendack takes one publish and delivers it everywhere it needs to go: live to browsers and apps, durably to your services, signed to webhooks, and as web push to people who are away. Every delivery acknowledged, in order, replayable.
Start here
- Make an account. Sign up; your team is made with you as its owner, on the Free plan.
- Make an API key. On Keys, an owner or admin names one and copies it. It's shown once and kept only as a hash.
- Make the first call from your server, with the key as its bearer token:
import { Sendack } from "@sendack/client";
// a key from the Keys page, kept on your server (never in a page)
const sendack = new Sendack("https://sendack.lunaor.com", { token: process.env.SENDACK_KEY });
// your team's topics are under your-team.
await sendack.publish("your-team.orders", "order-1", new TextEncoder().encode(JSON.stringify({ total: 42 })));
for await (const e of sendack.subscribe("your-team.orders")) console.log(e.id);
Keep the key on your server. A page in a browser calls your own server, which adds the key: the TypeScript client's relay mode is made for this.
The docs
- QuickstartConnect, publish, subscribe live, make and verify a webhook, read history, redeliver failures and chat on a topic, in TypeScript, Python and Rust.
- API referenceAuth, limits, positions, the Connect API, the JSON and WebSocket routes, plans, API keys, every route and its auth, verifying webhooks and notifications.
- TypeScript client@sendack/client: plain ESM on fetch, for Node, Deno, Bun, browsers and Workers.
- Python clientThe Python client, with the same calls.
These pages are the docs in Sendack's own repository, rendered here as they are; the code in them runs in the clients' tests.