Documentation
How to use the API and receive events
Whats2API is a simple and easy to use API, you can send and receive messages from whatsapp, and receive all events, such as: messages, contacts, etc
To use the API, you need to create a connection, and start it, after that, you will receive a QRCode, and you need to scan it with your whatsapp app, after that, all events will be sent to you.
For the NodeJS lib: Click here
To start sending request, as send messages, you will need to authenticate, look at the authentication section: Click here
To send messages, you have to make a Rest request to your endpoint with the right headers, let's see how to do it: Click here
Finally to receive events, you need to configure a endpoint, and all events will be sent to you, let's see how to do it: Click here