WhatsApp API Documentation
How to Use
To Get started using Wawp WhatsApp, you can follow our 3 simple steps:
- Create a new account on https://wawp.net/signup.
- Connect your WhatsApp by scanning the QR code on https://wawp.net/account/connect.
- Copy your instance id and access token.
1. Instance Api
POST Create Instance
Create a new Instance ID
https://app.wawp.net/api/create_instance?access_token=671f38e9xxxxx
Parameters:
access_token | 671f38e9xxxxx |
POST Get QR Code
Display QR code to login to Whatsapp web. You can get the results returned via Webhook
https://app.wawp.net/api/get_qrcode?instance_id=609ACF283XXXX&access_token=671f38e9xxxxx
Parameters:
instance_id | 609ACF283XXXX |
access_token | 671f38e9xxxxx |
POST Reboot Instance
Logout Whatsapp web and do a fresh scan
https://app.wawp.net/api/reboot?instance_id=609ACF283XXXX&access_token=671f38e9xxxxx
Parameters:
instance_id | 609ACF283XXXX |
access_token | 671f38e9xxxxx |
POST Reset Instance
This will logout Whatsapp web, Change Instance ID, Delete all old instance data
https://app.wawp.net/api/reset_instance?instance_id=609ACF283XXXX&access_token=671f38e9xxxxx
Parameters:
instance_id | 609ACF283XXXX |
access_token | 671f38e9xxxxx |
POST Reconnect
Re-initiate connection from app to Whatsapp web when lost connection
https://app.wawp.net/api/reconnect?instance_id=609ACF283XXXX&access_token=671f38e9xxxxx
Parameters:
instance_id | 609ACF283XXXX |
access_token | 671f38e9xxxxx |
2. Send Direct Message Api
POST Send Text
Send a text message to a WhatsApp phone number through the app
Resource URL:
https://app.wawp.net/api/send
Structure of the POST request body:
Content-Type: application/json
{
"number": "{int}",
"type": "text",
"message": "{string}",
"instance_id": "{string}",
"access_token": "671f38e9xxxxx"
}
Parameters:
number | 84933313xxx |
type | text |
message | test message |
instance_id | 609ACF283XXXX |
access_token | 671f38e9xxxxx |
POST Send Media & File
Send a media or file with message to a phone number through the app
Resource URL:
https://app.wawp.net/api/send
Structure of the POST request body:
Content-Type: application/json
{
"number": "{int}",
"type": "media",
"message": "{string}",
"media_url": "{string}",
"instance_id": "{string}",
"access_token": "671f38e9xxxx"
}
Parameters:
number | 84933313xxx |
type | media |
message | test message |
media_url | https://i.pravatar.cc |
filename (Just use for send document) | file_test.pdf |
instance_id | 609ACF283XXXX |
access_token | 671f38e9xxxxx |
3. Group Api
POST Send Text to Group
Send a text message to a group through the app
Resource URL:
https://app.wawp.net/api/send_group
Structure of the POST request body:
Content-Type: application/json
{
"group_id": "8498761xxxxxxxx@g.us",
"type": "text",
"message": "{string}",
"instance_id": "{string}",
"access_token": "671f38e9xxxxx"
}
Parameters:
group_id | 8498761xxxxxxxx@g.us |
type | text |
message | test message |
instance_id | 609ACF283XXXX |
access_token | 671f38e9xxxxx |
POST Send Media & File to Group
Send a media or file with message to a group through the app
Resource URL:
https://app.wawp.net/api/send_group
Structure of the POST request body:
Content-Type: application/json
{
"group_id": "8498761xxxxxxxx@g.us",
"type": "media",
"message": "{string}",
"media_url": "{string}",
"instance_id": "{string}",
"access_token": "671f38e9xxxxx"
}
Parameters:
group_id | 8498761xxxxxxxx@g.us |
type | media |
message | test message |
media_url | https://i.pravatar.cc |
filename (Just use for send document) | file_test.pdf |
instance_id | 609ACF283XXXX |
access_token | 671f38e9xxxxx |
Low-Cost WhatsApp API For Developers
✨ How Wawp Works For You
Get started with Wawp in minute in just 3 simple steps
Create Account
Create your Wawp account in seconds
Connect your WhatsApp
Use WhatsApp to scan the QR code we provide, or connect with phone number.
Start Messaging
Send and receive messages instantly through our powerful API.
Integrate WhatsApp into your solutions
Choose the perfect plan for your WhatsApp business needs with no hidden fees or per-message costs.
