API Documentation
WASend WhatsApp API Documentation
WASend WhatsApp API
Welcome to the WASend WhatsApp API documentation. This guide will help you integrate WhatsApp messaging capabilities into your applications.
Quick Links
Official SDKs
WASend provides official SDKs for multiple programming languages to make integration easier:
TypeScript/JavaScript
npm install @wasend/core
# or
yarn add @wasend/core
Python
pip install wasend
.NET
dotnet add package Wasend.Core
Go
go get github.com/wasenddev/wasend-sdk-go
SDK Features
All official SDKs provide the following features:
- Session Management (create, delete, start, stop, restart)
- QR Code Authentication
- Message Sending (text, media, contacts)
- Contact Management
- Webhook Support
- Account Protection
- Message Logging
Integration Examples
TypeScript/JavaScript
import { WasendClient } from '@wasend/core';
const client = new WasendClient({
apiKey: 'YOUR_API_KEY',
baseUrl: 'https://api.wasend.dev'
});
Python
from wasend import WasendClient
client = WasendClient(
api_key='YOUR_API_KEY',
base_url='https://api.wasend.dev'
)
.NET
using Wasend.Core;
var client = new WasendClient(new ClientConfig
{
ApiKey = "YOUR_API_KEY",
BaseUrl = "https://api.wasend.dev"
});
Go
import "github.com/wasenddev/wasend-sdk-go"
client := wasend.NewWasendClient(wasend.ClientConfig{
ApiKey: "YOUR_API_KEY",
BaseUrl: "https://api.wasend.dev",
})
API Overview
WASend provides a comprehensive set of endpoints for WhatsApp integration:
- Sessions: Manage WhatsApp sessions and connections
- Messages: Send various types of messages (text, media, contacts, etc.)
- Contacts: Manage and retrieve contact information
Base URL
All API requests should be made to:
https://api.wasend.dev
Authentication
All API requests require authentication using Bearer tokens. See the Authentication section for details.
Rate Limits
API requests are subject to rate limiting. Please refer to your plan details for specific limits.
Support
If you need help or have questions, please contact our support team at support@wasend.dev