TypeScript / Node.js
@sendbaze/sdk is a zero-dependency client built on fetch. It runs on Node.js 20+, Bun, Deno, Cloudflare Workers and Vercel Edge, and ships ESM and CommonJS builds with type definitions.
Options
Resources
Every method takes an optional last argument
{ idempotencyKey, signal }.
Errors
Webhooks
React Email
Pass a React element asreact and the SDK renders it to html and text before sending. The renderer is an optional peer dependency: npm install @react-email/render react react-dom. renderReactEmail exposes the same rendering for previews and tests. See React Email.
Python
sendbaze on PyPI needs Python 3.9+ and nothing but the standard library. The same resources and method names as the TypeScript SDK, in snake_case; from_ and class_ stand in for the reserved words.
email.id or email["id"]). Options: api_key, base_url, timeout (seconds, default 30). See the Python guide.
Other languages
Ruby, PHP and Go packages are on the roadmap. Until then the API reference shows a request sample in each language on every endpoint, and the sending guides include a small client you can copy:Ruby
PHP
Go
OpenAPI
The full specification is at/api-reference/openapi.yaml. Generate a client with your usual tooling, or import it into Postman or Insomnia.