@techardentlabs/vive-sdk
v1.0.1
Published
Official Node/TypeScript client for the Vive WhatsApp messaging API
Maintainers
Readme
@techardentlabs/vive-sdk
Official Node/TypeScript client for the Vive WhatsApp messaging API.
npm install @techardentlabs/vive-sdkimport { Vive } from "@techardentlabs/vive-sdk";
const vive = new Vive(); // reads VIVE_API_KEY
const message = await vive.sendText({
to: "15551234567",
text: "Your order shipped.",
idempotencyKey: "order-4417-shipped",
});- All ten message types: text, template, media, buttons, list, CTA, location, reaction
- Typed requests and responses
ViveError/ViveAuthError/ViveRateLimitError/ViveValidationError- Automatic retry of
429and5xxwith backoff and jitter; never retries4xx - Constant-time webhook signature verification
Full documentation: https://docs.getvive.ai.
