πŸš€ Getting Started with WabSync

WabSync provides a complete REST API for integrating WhatsApp messaging capabilities into your applications. Manage multiple WhatsApp sessions, send messages, handle real-time webhooks, and more.

Quick Start

Get up and running in 5 minutes with our quick start guide.

✨ Key Features

Session Management

Create and manage multiple WhatsApp sessions easily

Rich Messaging

Send text, images, files, locations, and more

Real-time Webhooks

Receive instant notifications for messages and events

πŸ”— API Endpoints Overview

Session Management

  • Create Session - Set up a new WhatsApp session
  • Get All Sessions - Retrieve all your sessions
  • Get Session Info - Get details about a specific session
  • Get QR Code - Authenticate via QR code scanning
  • Request Auth Code - Request SMS-based authentication

Messaging

  • Send Message - Send text, files, and location messages
  • Mark as Seen - Mark received messages as read
  • Send Chat State - Show typing or recording indicators

Webhooks

Real-time event notifications for status changes and new messages

🎯 What Can You Do?

Build Chatbots

Create AI-powered conversational bots on WhatsApp

Send Notifications

Deliver timely alerts and updates via WhatsApp

Customer Support

Provide customer service through WhatsApp

Marketing Campaigns

Reach customers with promotional messages

πŸ“š Documentation

Explore our complete API documentation:

API Reference

Full endpoint documentation with examples and code samples

πŸ” Authentication

All API requests require bearer token authentication:
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
  https://api.wabsync.com/api/v1/session/all

πŸ’‘ Example Use Case

Here’s a simple example of creating a session and sending a message:
# 1. Create a session
curl -X POST https://api.wabsync.com/api/v1/session/create \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"session_name": "My Session"}'

# 2. Get QR code for authentication
curl https://api.wabsync.com/api/v1/session/{sessionId}/get-qr-code \
  -H "Authorization: Bearer YOUR_API_TOKEN"

# 3. Send a message
curl -X POST https://api.wabsync.com/api/v1/session/{sessionId}/send-message \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "1234567890",
    "type": "text",
    "content": "Hello from WabSync!"
  }'

πŸ†˜ Need Help?

πŸŽ“ Learn More

Development Setup

Set up your local development environment

Webhook Integration

Learn how to handle real-time webhooks

Ready to get started? Start with our Quick Start Guide!