Get QR Code
GET
https://api.wapim.io/api/v1/whatsapp/login
{
"status": true,
"code": 200,
"message": "Success",
"data": {
"qrcode": "data:image/png;base64,iVBORw0****",
"timeout": 20
},
"logged_in": false
}
curl
-X GET https://api.wapim.io/api/v1/whatsapp/login
-H 'Token: YOUR_WAPIM_TOKEN'
const axios = require('axios');
axios
.get(
'https://api.wapim.io/api/v1/whatsapp/login',
{
headers: {
token: 'YOUR_WAPIM_TOKEN',
}
}
)
.then(response => console.log(response.data))
.catch(error => console.log(error.response.data))java