INSTANCE API

Create Instance

POST /createinstance.php

Create a new Instance ID

Params

Name
Description

access_token

User's access token


Get QR Code

POST /getqrcode.php

Display QR code to login to WhatsApp web.

Params

Name
Description

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

Name
Description

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

Name
Description

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

Name
Description

instance_id

Instance id of WhatsApp profile

access_token

User's access token


Check Instance

POST /check_instance.php

Check Instance Connection

Params

Name
Description

instance_id

Instance id of WhatsApp profile

access_token

User's access token


Logout

POST /logout.php

Logout WhatsApp web.

Params

Name
Description

instance_id

instance id of WhatsApp profile

access_token

User's access token

Last updated