I can't receive messages through my webhook with Whatsapp Cloud API - Stack Overflow

时间: 2025-01-06 admin 业界

I created a webhook and added the business number. My webhook is correctly verified and is receiving test messages sent from the dashboard, however when I send whatsapp messages to the business number, the webhook does not receive them.

I tried to follow this suggestion , however if I try to do the curl

 curl -X POST \
'.0/WHATSAPP_BUSINESS_ACCOUNT_ID/subscribed_apps' \
-H 'Authorization: Bearer ACCESS_TOKEN'

using as ACCESS_TOKEN the temporary access token generated in the whatsapp facebook page, I get the error:

"Unsupported get request. Object with ID 'my-id' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation".

I don't know what to do next, if anyone has anything to suggest any help is appreciated!