Stackposts Documentation Stackposts Documentation
  • Stackposts Documentation 2022
    • Stackposts | Social Marketing Tool
    • Waziper – WhatsApp Marketing Tool
  • FAQs
  • Download
  • Blog
  • Help Center
Get Support
Stackposts Documentation Stackposts Documentation
Get Support
Stackposts Documentation
  • Stackposts Documentation 2022
    • Stackposts | Social Marketing Tool
    • Waziper – WhatsApp Marketing Tool
  • FAQs
  • Download
  • Blog
  • Help Center

Docy

Whatsapp Rest Api For Waziper/Whatsapp Module For Stackposts

  • Folder icon closed Folder open iconOverview
  • Folder icon closed Folder open iconAPI Installation
  • Folder icon closed Folder open iconAPI documentation
  • Folder icon closed Folder open iconUpgrade version
  • Folder icon closed Folder open iconProblems & Solutions

API documentation

Estimated reading: 3 minutes

Table of Contents

  • INSTANCE API
    • POST Create Instance ID
    • POST Get QR Code
    • POST Set Receving Webhook
    • POST Reboot Instance
    • POST Reset Instance
    • POST Reconnect
  • SEND DIRECT MESSAGE API
    • POST Send Text
    • POST Send Media & File
  • GROUP API
    • POST Send Text Message Group
    • POST Send Media & File Message Group

INSTANCE API

POST Create Instance ID

https://yourdomain.com/api/createinstance.php?access_token=e10adc3949ba59abbe56e0xxxxxxxxxx

Create a new Instance IDPARAMS

access_tokene10adc3949ba59abbe56e0xxxxxxxxxx

access token

POST Get QR Code

https://yourdomain.com/api/getqrcode.php?instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx

Display QR code to login to Whatsapp web. You can get the results returned via WebhookPARAMS

instance_id609ACF283XXXX
access_tokene10adc3949ba59abbe56e0xxxxxxxxxx

POST Set Receving Webhook

https://yourdomain.com/api/setwebhook.php?webhook_url=https://webhook.site/1b25464d6833784f96eef4xxxxxxxxxx&enable=true&instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx

Get all return values from Whatsapp. Like connection status, Incoming message, Outgoing message, Disconnected, Change Battery,…PARAMS

webhook_urlhttps://webhook.site/1b25464d6833784f96eef4xxxxxxxxxx
enabletrue
instance_id609ACF283XXXX
access_tokene10adc3949ba59abbe56e0xxxxxxxxxx

POST Reboot Instance

https://yourdomain.com/api/reboot.php?instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx

Logout Whatsapp web and do a fresh scanPARAMS

instance_id609ACF283XXXX
access_tokene10adc3949ba59abbe56e0xxxxxxxxxx

POST Reset Instance

https://yourdomain.com/api/resetinstance.php?instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx

This will logout Whatsapp web, Change Instance ID, Delete all old instance dataPARAMS

instance_id609ACF283XXXX
access_tokene10adc3949ba59abbe56e0xxxxxxxxxx

POST Reconnect

https://yourdomain.com/api/reconnect.php?instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx

Re-initiate connection from app to Whatsapp web when lost connectionPARAMS

instance_id609ACF283XXXX
access_tokene10adc3949ba59abbe56e0xxxxxxxxxx

SEND DIRECT MESSAGE API

POST Send Text

https://yourdomain.com/api/send.php?number=84933313xxx&type=text&message=test%20message&instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx

Send a text message to a phone number through the appPARAMS

number84933313xxx
typetext
messagetest message
instance_id609ACF283XXXX
access_tokene10adc3949ba59abbe56e0xxxxxxxxxx

POST Send Media & File

https://yourdomain.com/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=e10adc3949ba59abbe56e0xxxxxxxxxx

Send a media or file with message to a phone number through the appPARAMS

number84933313xxx
typemedia
messagetest message
media_urlhttps://i.pravatar.cc
filename (Just use for send document)file_test.pdf
instance_id609ACF283XXXX
access_tokene10adc3949ba59abbe56e0xxxxxxxxxx

GROUP API

POST Send Text Message Group

https://yourdomain.com/api/[email protected]&type=text&message=test%20message&instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx

Send a text message to a group through the appPARAMS

group_id[email protected]
typetext
messagetest message
instance_id609ACF283XXXX
access_tokene10adc3949ba59abbe56e0xxxxxxxxxx

POST Send Media & File Message Group

https://yourdomain.com/api/[email protected]&type=media&message=test%20message&media_url=https://i.pravatar.cc&filename=file_test.jpg&instance_id=609ACF283XXXX&access_token=e10adc3949ba59abbe56e0xxxxxxxxxx

Send a media or file with message to a group through the appPARAMS

group_id[email protected]
typemedia
messagetest message
media_urlhttps://i.pravatar.cc
filename (Just use for send document)file_test.pdf
instance_id609ACF283XXXX
access_tokene10adc3949ba59abbe56e0xxxxxxxxxx

Still stuck? How can we help?

How can we help?

A premium WordPress theme with integrated Knowledge Base, providing 24/7 community based support

Was this page helpful? Yes No

Powered By Stackposts

Leaf Illustration

© 2022 All Rights Reserved by Stackposts