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일 오전 4:14
Ricardo