The official TypeScript client library (v3.10.0, released monthly) for the Sendblue API, providing programmatic access to send SMS/MMS messages, manage contacts, and interact with Sendblue's messaging platform. Generated with Stainless for consistent ergonomics. Supports ESM only, includes full TypeScript definitions for all request params and response fields. Key differentiator: first-party SDK with full API coverage and auto-generated API documentation. Alternative to REST API calls and third-party HTTP clients.
npm install sendblueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Instantiates the client with API key and secret from environment variables, then sends an SMS message and logs the response seat_id.
Use import SendblueAPI from 'sendblue' or dynamic import() in CommonJS projects.
Ensure env vars are named exactly SENDBLUE_API_API_KEY and SENDBLUE_API_API_SECRET (not SENDBLUE_API_KEY).
Use SendblueAPI.MessageSendParams instead of destructuring { MessageSendParams } from 'sendblue'.Always consult API docs for required fields; TypeScript types may allow undefined where API requires a value.
Change to import SendblueAPI from 'sendblue' or use dynamic import: const SendblueAPI = (await import('sendblue')).default;Ensure from_number is a valid E.164 phone number string passed in the options object.
Use SendblueAPI.MessageSendParams type via the default import namespace.
No dependency data recorded yet.