Unable to receive the webhooks
1

Hi i added a new phone number to my Cloud API but my endpoint dosen't even receive the webhooks. I am able to send messages out from this phone number though. Has anyone faced such an issue?

Elson
Enviada há cerca de 2 semanas
Resposta selecionada
1

I'm having this issue too. Did you manage to find a solution?

28 de outubro às 12:00
Ricardo
1

It is necessary to individually subscribe each WABA for which you want to receive Webhooks. After obtaining the WABA ID, subscribe your app with the ID to start receiving Webhooks.

I subscribed the WABA to receive the webhook, and it worked.

For example:

curl -X POST \
'https://graph.facebook.com/v21.0/102289599326934/subscribed_apps' \
-H 'Authorization: Bearer EAAJi...'

The complete explanation is at this link. https://developers.facebook.com/docs/whatsapp/embedded-signup/webhooks#subscribe-to-a-whatsapp-business-account

29 de outubro às 04:14
Ricardo