Get Started (Whatsapp OTP Integration)
WatVerifyAPI — Enterprise
Base URL {{base_url}} - Your server Address
Where the application is hosted
Master Key {{master_key}} - Your secret key
Used to generate API Keys
Step 1 - Generate API Key
Call to this enpoint is protected by an authorization header with the value of a master key
API Key is equivalent to a WhatsApp Device
After generating an API please save it in a safe place as there is no list of API Keys generated HTTP POST
http://{{base_url}}/api-keys/generate header: "Authorization": "{{master_key}}" body { "whatsapp_device_no": "1" }whatsapp_device_no - this can be any number, it can represent user_ids on your system. Each number is tied to an API Key
Step 2 - Scan WhatsApp Device
This requires an API Key and should be done from a browser
On successful connection, your API is ready to use
http://{{base_url}}/connect-wa/scan-device?api_key=API-X-xxx Step 3 - Check if a number is on WhatsApp
This requires an API Key in the query params
HTTP GET Request
http://{{ base_url}}/connect-wa/scan-device?api_key=API-X-xxx
Step 4 - Send WhatsApp Message HTTP POST Request
This requires an API Key in the body params
http://{{base_url}}/send-messages/send
COMPLETE API DOC REFERENCE
https://documenter.getpostman.com/view/26348851/2sB3HqJe9C
Last updated