Am new here want to achieve this
As php curl post
To endpoint whapi.io/send
Example sending a text
{
“app”: {
“id”: “6812345xxx”,
“time”: “1659260756”,
“data”: {
“recipient”: {
“id”: “68213652xxx”
},
“message”: [
{
“time”: “1659260756”,
“type”: “text”,
“value”: “Hello World!”
}
]
}
}
}