API Documentation
INSTANCE API
POST Create Instance
Create a new Instance ID
PARAMS
Access_token | 0454be2d005b77e4a7f2d46179e4e399 |
POST Get QR Code
https://go.maxbot.app/api/getqrcode.php?instance_id=609ACF283XXXX&access_token=0454be2d005b77e4a7f2d46179e4e399
Display QR code to login to Whatsapp web. You can get the results returned via Webhook
PARAMS
instance_id | 609ACF283XXXX |
access_token | 0454be2d005b77e4a7f2d46179e4e399 |
POST Set Receving Webhook
https://go.maxbot.app/api/setwebhook.php?webhook_url=https://webhook.site/1b25464d6833784f96eef4xxxxxxxxxx&enable=true&instance_id=609ACF283XXXX&access_token=0454be2d005b77e4a7f2d46179e4e399
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 | 0454be2d005b77e4a7f2d46179e4e399 |
POST Reboot Instance
https://go.maxbot.app/api/reboot.php?instance_id=609ACF283XXXX&access_token=0454be2d005b77e4a7f2d46179e4e399
Logout Whatsapp web and do a fresh scan
PARAMS
instance_id | 609ACF283XXXX |
access_token | 0454be2d005b77e4a7f2d46179e4e399 |
POST Reconnect
https://go.maxbot.app/api/reconnect.php?instance_id=609ACF283XXXX&access_token=0454be2d005b77e4a7f2d46179e4e399
Re-initiate connection from app to Whatsapp web when lost connection
PARAMS
instance_id | 609ACF283XXXX |
access_token | 0454be2d005b77e4a7f2d46179e4e399 |
SEND DIRECT MESSAGE API
POST Send Text
https://go.maxbot.app/api/send.php?number=84933313xxx&type=text&message=test%20message&instance_id=609ACF283XXXX&access_token=0454be2d005b77e4a7f2d46179e4e399
Send a text message to a phone number through the app
PARAMS
number | 84933313xxx |
type | text |
message | test message |
instance_id | 609ACF283XXXX |
access_token | 0454be2d005b77e4a7f2d46179e4e399 |
POST Send Media & File
https://go.maxbot.app/api/send.php?number=84933313xxx&type=media&message=test%20message&media_url=https://i.pravatar.cc&filename=file_test.jpg&instance_id=609ACF283XXXX&access_token=0454be2d005b77e4a7f2d46179e4e399
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 | 0454be2d005b77e4a7f2d46179e4e399 |
POST Send Text Message Group
https://go.maxbot.app/api/sendgroupmsg.php?group_id=84987694574-1618740914@g.us&type=text&message=test%20message&instance_id=609ACF283XXXX&access_token=0454be2d005b77e4a7f2d46179e4e399
Send a text message to a group through the app
PARAMS
group_id | [email protected] |
type | text |
message | test message |
instance_id | 609ACF283XXXX |
access_token | 0454be2d005b77e4a7f2d46179e4e399 |
GROUP API
POST Send Media & File Message Group
https://go.maxbot.app/api/sendgroupmsg.php?group_id=84987694574-1618740914@g.us&type=media&message=test%20message&media_url=https://i.pravatar.cc&filename=file_test.jpg&instance_id=609ACF283XXXX&access_token=0454be2d005b77e4a7f2d46179e4e399
Send a media or file with message to a group through the app
PARAMS
group_id | [email protected] |
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 | 0454be2d005b77e4a7f2d46179e4e399 |
API Documentation