The BuzzBip SDK wraps the REST API with a typed client for Node.js 18+ and modern TypeScript projects. It handles authentication, request serialization, error parsing, and pagination helpers out of the box.
Why use the SDK
- Full TypeScript types for all API resources and webhook payloads
- Automatic Bearer token authentication
- Built-in retry logic with exponential backoff for rate limits
- Pagination iterators for contacts, messages, and conversations
- Webhook signature verification helper
Quick start
typescript
import { BuzzBip } from '@buzzbip/sdk';
const client = new BuzzBip({
apiKey: process.env.BUZZBIP_API_KEY!,
});
const message = await client.messages.send({
to: '+21612345678',
type: 'template',
template: {
name: 'order_confirmation',
language: 'en',
components: [],
},
});
console.log(message.id, message.status);Supported environments
Never use the SDK in client-side browser code. API keys must remain on your server.
