Documentation

Complete guide to using our WhatsApp Gateway API

API Reference

Complete API documentation with endpoints, parameters, and examples.

View API Docs

Integration Guide

Step-by-step guides for integrating with popular platforms and frameworks.

View Integration Guide

Quick Start

1. Get Your API Key

  1. Log in to your dashboard
  2. Navigate to Settings → API Keys
  3. Generate a new API key
  4. Copy and store it securely

2. Make Your First API Call

curl -X POST https://tawasol.site/api/send-message \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "device_id": "your_device_id",
    "to": "1234567890",
    "message": "Hello from API!"
  }'

3. Set Up Webhooks

Configure webhooks to receive real-time notifications about message status, incoming messages, and device events.

Core Concepts

Cihazlar

A device represents a connected WhatsApp account. Each device can send and receive messages independently.

Contacts

Manage your contact list with tags and groups for organized messaging campaigns.

Mesajlar

Send text, media, templates, and interactive messages through our API or dashboard.

Webhooks

Receive real-time notifications about events in your application via HTTP callbacks.

SDKs and Libraries

Node.js
npm install @tawasol/sdk
Python
pip install tawasol-sdk
PHP
composer require tawasol/sdk

Need Help?

Our documentation covers everything you need, but if you have questions, we're here to help.