Just like Whatsapp web but it gives additional features through which you could talk with your customers and friends easily.
EasyCRM Whats App API(BETA) Extension
--- BETA ---
This is a short documentation on how our free WhatsApp extension can help you to pull and push data from/to WhatsApp web. This extension is designed for developers, it is not for general users. This extension is free and comes with no support or guaranty. You can design your software around this e.g. software that accepts WhatsApp messages or even send WhatsApp messages. Don't use this for bulk messaging or spamming - otherwise you will be blocked by WhatsApp. :)
Summary:
This extension captures your https://web.whatsapp.com data (incoming messages) and passes to URL (server) in a JSON format. It also looks for new messages on the server every 15 mins and sends those messages to contacts listed on WhatsApp.
API documentation: https://links.zaperp.com/whatsappapi
Here is how API works:
Push WhatsApp Message To ZapERP.
Make sure - In the chrome extension you have added a URL ( https://yourdomain.com/api ). Extension will then automatically POST data to ( https://yourdomain.com/api/apps/sms/whatsapp ) - along with message source phone details and actual message contents.
You can also use your own format of URL e.g. https://yourdomain.com/myworld but then end point is \"https://yourdomain.com/myworld/apps/sms/whatsapp\" . So it is important that your server can accept this endpoint POST request from outside.
Pull messages from your server:
Now, extension automatically pings your server for new messages. In this case, expected end point is: https://yourdomain.com/api/apps/sms/whatsapp . For the message and JSON format, please refer POSTMAN documentation link https://links.zaperp.com/whatsappapi .
Hope this helps. Thanks.
Read more
This is a short documentation on how our free WhatsApp extension can help you to pull and push data from/to WhatsApp web. This extension is designed for developers, it is not for general users. This extension is free and comes with no support or guaranty. You can design your software around this e.g. software that accepts WhatsApp messages or even send WhatsApp messages. Don't use this for bulk messaging or spamming - otherwise you will be blocked by WhatsApp. :)
Summary:
This extension captures your https://web.whatsapp.com data (incoming messages) and passes to URL (server) in a JSON format. It also looks for new messages on the server every 15 mins and sends those messages to contacts listed on WhatsApp.
API documentation: https://links.zaperp.com/whatsappapi
Here is how API works:
Push WhatsApp Message To ZapERP.
Make sure - In the chrome extension you have added a URL ( https://yourdomain.com/api ). Extension will then automatically POST data to ( https://yourdomain.com/api/apps/sms/whatsapp ) - along with message source phone details and actual message contents.
You can also use your own format of URL e.g. https://yourdomain.com/myworld but then end point is \"https://yourdomain.com/myworld/apps/sms/whatsapp\" . So it is important that your server can accept this endpoint POST request from outside.
Pull messages from your server:
Now, extension automatically pings your server for new messages. In this case, expected end point is: https://yourdomain.com/api/apps/sms/whatsapp . For the message and JSON format, please refer POSTMAN documentation link https://links.zaperp.com/whatsappapi .
Hope this helps. Thanks.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "EasyCRM Whats App API(BETA)", "short_name": "EasyCRM Whats App API(BETA)", "version": "1.0.1", "description": "Just like Whatsapp web but it gives additional features through which you could talk with your customers and friends easily.", "background": { "scripts": [ "/assets/js/jquery-2.2.4.min.js", "/assets/js/background.js" ] }, "icons": { "16": "favicon16.png" }, "browser_action": { "browser_style": false, "default_title": "EasyCRM Whats App API(BETA)", "default_popup": "/index.html" }, "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';", "permissions": [ "tabs", "*://*/*", "storage", "alarms" ], "content_scripts": [ { "matches": [ "https://web.whatsapp.com/*" ], "js": [ "/assets/js/jquery-2.2.4.min.js", "/assets/js/formfiller.js" ], "css": [ "/assets/css/formfiller.css" ] } ]}
Read more