If you want to receive the answers from the WA number connected to the api, you can use a webhook.
As soon as you add your endpoint, all the messages received in your number will be sent to this webhook with a POST method including the content in json format as follows:
{
"type": "text",
"from": "549191919191.",
"from_name": "Joan",
"to": "54134123123",
"file": "null",
"message": "Text Message received in WhatsApp"
}
Current webhook for this apikey: none
To setup the webhook, please use this link to add and configure your webhook.
You can test the webhook using your own tools or you can also test it using this online tool.
You can reuse this php code to implement the webhook in your own server.
If you use Google AppSheet, you can receive the answers into your App using the instructions documented here.
If you are planning to create a chatbot, have a look at Botpress with TextMeBot API. (create a chatbot in 6min)
⚠️Warning⚠️ (please read and remember):
WhatsApp will block your number if you send messages to people who is not expecting to receive a message from you.🚨Disclaimer🚨 (please read and remember):
a) This API is inended for Personal Usage only. If you decide to use it for Business, it is at your own risk.