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
已發問 約 2 週前
已選擇的答案
1

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

10月28日 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

10月29日 04:14
Ricardo