WhatsApp Cloud API. This API deals with a chatting platform based on WhatsApp. The user can send and receive text and media messages through WhatsApp in private chats with the endpoints that are created for the user.
Before using this API you must log in in wa
Log In
- send GET request to /login path
- you will receive in 4-5 sec QR code for authorization
- scan this QR to sign in app
Send a text message:
You can send messages to other recipients:
- send a POST request to /send/message endpoint
- in the request body property "chatId" This is an array with phone recipients in string type, for example:
{
"chatId": [
"123456789"
],
"context": "Hi, How are you?"
}
- in the "context" property put a message in the string type
Log Out:
- send GET request to /logout/{clientPhone} path, where clientPhone is the number of your client whom you want logout
- after a few seconds you will log out from API
P.S also you can log out from API is disabled session in your device
If you need more additional endpoints and webhooks on your own server or you need whatsapp chatbot automation. Please contact me: PM, email: fl250450@gmail.com and we can create your custom idea in messager whatsapp.