🇵🇰 Pakistan's #1 WhatsApp API  |  24/7 Support  |  Rs.3,000/Month Flat Get Free Demo →
{"developer": "focused"}

The Developer-Friendly WhatsApp REST API

Integrate WhatsApp into your existing stack in minutes. Simple HTTP requests for messages, media, and location. Built for Pakistani developers.

⚙️ Integration

Connect Anything to WhatsApp

Whether it's a simple PHP website, a complex React app, or an enterprise ERP system — Postabi's REST API makes integration seamless. No webhooks required for basic sending.

// Example PHP Snippet
$resp = post('https://api.postabi.com/send', [
  'to' => '923001234567',
  'msg' => 'Hello from Postabi!'
]);
Explore Full Documentation

Built for Stability

Our API infrastructure handles the heavy lifting, ensuring your messages are delivered even during peak traffic hours in Pakistan.

99.9%
Uptime Guarantee
HTTP/S
Secure RESTful API
🛠️ Technical Reference

WhatsApp Web API Integration

Use these parameters to send messages via our REST API. We support Text, Image, Video, and Documents.

CURL Request Example

$curl = curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://postab.site/api/whatsapp-web/send-message',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS => array(
    'app_key' => 'YOUR_APP_KEY',
    'auth_key' => 'YOUR_AUTH_KEY',
    'to' => 'RECEIVER_NUMBER',
    'message' => 'Example message',
  ),
));

$response = curl_exec($curl);
curl_close($curl);
echo $response;

Successful JSON Callback

{
  "status": "Success",
  "data": {
    "from": "SENDER_NUMBER",
    "to": "RECEIVER_NUMBER",
    "status_code": 200
  }
}

Method & Parameters

Method: POST
Endpoint: https://postab.site/api/whatsapp-web/send-message

Param Req Details
app_keyYesUsed to authorize the app transaction
auth_keyYesUsed to authorize the valid user
toYesRecipient WhatsApp number with country code
typeYesThe type of message (text, image, etc.)
messageOptRequired for text only messages
urlOptRequired for media files (direct URL)

Ready to start building?

Get your API credentials instantly upon subscription.

🚀 Get Started Now
Chat Now — 24/7