INSTANCE API
Create Instance
POST /createinstance.php
Create a new Instance ID
Params
access_token
User's access token
Get QR Code
POST /getqrcode.php
Display QR code to login to WhatsApp web.
Params
instance_id
the instance id that has been initiated previously
access_token
User's access token
Set Receiving Webhook
POST /setwebhook.php
Get all return values from WhatsApp. Like connection status, Incoming message, Outgoing message, Disconnected, .. etc.
Params
webhook_url
the webhook URL where response will be sent
enable
true/false
instance_id
Instance id of WhatsApp profile
access_token
User's access token
Reset Instance
POST /resetinstance.php
This will logout WhatsApp web, and delete all instance data
Params
instance_id
Instance id of WhatsApp profile
access_token
User's access token
Reconnect
POST /reconnect.php
Re-initiate connection from app to WhatsApp web when lost connection
Params
instance_id
Instance id of WhatsApp profile
access_token
User's access token
Check Instance
POST /check_instance.php
Check Instance Connection
Params
instance_id
Instance id of WhatsApp profile
access_token
User's access token
Logout
POST /logout.php
Logout WhatsApp web.
Params
instance_id
instance id of WhatsApp profile
access_token
User's access token
Last updated