Instance Api

POST Create Instance
Create a new Instance ID
Params
access_token 69d3dbbe2022242e91284c48efdeXXXX
POST Get QR Code
Display QR code to login to Whatsapp web. You can get the results returned via Webhook
Params
instance_id 609ACF283XXXX
access_token 69d3dbbe2022242e91284c48efdeXXXX
POST Set Receving Webhook
Get all return values from Whatsapp. Like connection status, Incoming message, Outgoing message, Disconnected, Change Battery,...
Params
webhook_url https://webhook.site/1b25464d6833784f96eef4xxxxxxxxxx
enable true
instance_id 609ACF283XXXX
access_token 69d3dbbe2022242e91284c48efdeXXXX
POST Reboot Instance
Logout Whatsapp web and do a fresh scan
Params
instance_id 609ACF283XXXX
access_token 69d3dbbe2022242e91284c48efdeXXXX
POST Reset Instance
This will logout Whatsapp web, Change Instance ID, Delete all old instance data
Params
instance_id 609ACF283XXXX
access_token 69d3dbbe2022242e91284c48efdeXXXX
POST Reconnect
Re-initiate connection from app to Whatsapp web when lost connection
Params
instance_id 609ACF283XXXX
access_token 69d3dbbe2022242e91284c48efdeXXXX

Send Direct Message Api

POST Send Text
Send a text message to a phone number through the app
Params
number 84933313xxx
type text
message test message
instance_id 609ACF283XXXX
access_token 69d3dbbe2022242e91284c48efdeXXXX
POST Send Media & File
Send a media or file with message to a phone number through the app
Params
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 69d3dbbe2022242e91284c48efdeXXXX

Group Api

POST Send Text Message Group
Send a text message to a group through the app
Params
group_id 84987694574-1618740914@g.us
type text
message test message
instance_id 609ACF283XXXX
access_token 69d3dbbe2022242e91284c48efdeXXXX
POST Send Media & File Message Group
Send a media or file with message to a group through the app
Params
group_id 84987694574-1618740914@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 69d3dbbe2022242e91284c48efdeXXXX