curl --location --request POST 'https://api.hiveflow.ai/api/whatsapp/sessions//webhook' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://mi-app.com/webhook/whatsapp",
"events": [
"message",
"message_ack"
],
"secret": "string"
}'
{
"success": true,
"webhook": {
"url": "string",
"events": [
"string"
],
"isActive": true
}
}