usesend-sdk
v0.1.0
Published
This SDK provides a straightforward and effective way to integrate WhatsApp instance management into your Node.js or TypeScript applications using the Use Send API.
Downloads
16
Readme
Use Send API SDK for WhatsApp Management
This SDK provides a straightforward and effective way to integrate WhatsApp instance management into your Node.js or TypeScript applications using the Use Send API.
Features
- Simplified Messaging: Easily send messages to WhatsApp users.
- Instance Management: Create, update, delete, and manage your WhatsApp instances seamlessly.
- Connection Handling: Connect and disconnect instances with simple API calls.
- Robust Error Handling: Clear error responses for efficient debugging and error resolution.
- Serverless Compatibility: Ideal for serverless architectures where quick setup and minimal server management are needed.
Installation
npm install usesend-sdk
Usage
Here’s a quick start example:
import { UseSend } from 'usesend-sdk'
const usesend = new UseSend({
apiKey: 'your-api-key-here',
})
const { data, error } = await usesend.instance.create(
'instanceId',
{
to: 'recipient_number',
message: 'Hello, WhatsApp!'
}
)
Support
For support, questions, or feedback, please reach out via our support email at [email protected].
About
Use Send API was developed to streamline complex WhatsApp messaging and management tasks, making it easier for developers to integrate WhatsApp functionalities into their applications.