Self-hosted WhatsApp API • Wablas alternative • Built on waha.devlike.pro

Self-Hosted WhatsApp Messaging for Teams & Automations

Take control of your WhatsApp messaging with our reliable, private, and cost-effective self-hosted API solution.

API Terminal
$ curl -X POST {{ API_URL }}/api/messages
X-Session-Id: {{ SESSION_ID }}
X-Session-Secret-Token: {{ SESSION_SECRET_TOKEN }}
{
"session_id": "{{ SESSION_ID }}",
"is_queue": true,
"recipient": "0811010010010"
"message_type": "text"
"message": "Welcome to WAPI Sunsal"
"schedule_at": "2025-09-08 09:44:00"
}
Self-Hosted Wablas Alternative QR Login Batch Messaging Webhooks

Everything you need for WhatsApp automation

Powerful features designed for developers and businesses

📱

Session & Device Management

Manage multiple WhatsApp sessions with QR code authentication and device status monitoring.

💬

Send Text, Image, Attachment

Send rich messages including text, images, documents, and media files with delivery tracking.

🚀

Batch Campaigns with Throttling

Send bulk messages with intelligent rate limiting to respect WhatsApp's guidelines.

🔗

Webhooks & Delivery Status

Real-time webhooks for message status updates and delivery confirmations.

🔐

Secret Token Rules

Secure API access with secret-token authentication and session-based.

Phone Validation & Utilities

Validate phone numbers and check WhatsApp availability before sending messages.

How It Works

Get started in minutes with our simple API

🔗

Generate QR

Create a new session and get QR code for WhatsApp linking

📱

Link WhatsApp

Scan QR code with WhatsApp to establish connection

💬

Send Messages

Start sending messages via our REST API endpoints

📊

Track Status

Monitor delivery status and receive webhook notifications

Simple API Integration

Uses X-Session-Id & X-Session-Secret-Token for all requests

API Request
curl -X POST {{ API_URL }}/api/messages \
-H "X-Session-Id: {{ SESSION_ID }}" \
-H "X-Session-Secret-Token: {{ SESSION_SECRET_TOKEN }}" \
-d '{
	"session_id": "{{ SESSION_ID }}",
	"is_queue": false,
	"recipient": "0811010010010",
	"message_type": "text",
	"message": "Welcome to WAPI Sunsal"
}'
curl -X POST {{ API_URL }}/api/messages \
-H "X-Session-Id: {{ SESSION_ID }}" \
-H "X-Session-Secret-Token: {{ SESSION_SECRET_TOKEN }}" \
-d '{
	"session_id": "{{ SESSION_ID }}",
	"is_queue": true,
	"recipient": "0811010010010",
	"message_type": "image",
	"message": "This is your image",
	"file_url": "https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg",
	"schedule_at": "2025-09-08 09:44:00",
}'
curl -X POST {{ API_URL }}/api/messages \
-H "X-Session-Id: {{ SESSION_ID }}" \
-H "X-Session-Secret-Token: {{ SESSION_SECRET_TOKEN }}" \
-d '{
	"session_id": "{{ SESSION_ID }}",
	"is_queue": true,
	"recipient": "0811010010010",
	"message_type": "file",
	"message": "This is your file",
	"file_url": "https://api.rucika.co.id/price-list/16/download",
	"schedule_at": "2025-09-08 09:45:00",
}'

Frequently Asked Questions

Sunsal Wapim is a self-hosted WhatsApp messaging API that lets you connect your own WhatsApp account and automate communication, serving as an alternative to Wablas.

It is designed for businesses, developers, and communities that need reliable WhatsApp automation for customer service, notifications, or campaigns.

Unlike Wablas which is a hosted service, Sunsal Wapim is self-hosted, giving you full control of your data, privacy, and server environment.

Not necessarily, one session can handle one WhatsApp number, but you can create multiple sessions if you want to manage several numbers.

Yes, because it is self-hosted, all messages and sessions stay within your own server, giving you more control over data security.

Absolutely, since it provides a REST API, you can connect it with CRMs, e-commerce platforms, chatbots, or any system that supports HTTP requests.

Ready to take control of your WhatsApp messaging?

Deploy Sunsal Wapim today and start sending messages through your own self-hosted API.