Posts under category Facebook WhatsApp Business API

I have deployed my webhook and connected my WABA. Once I send an image to this business account. It did not return the media id from the response. Actually, the JSON returned to me like this:

{     "entry": [         {             "changes": [                 {                     "field": "messages",                     "value": {                         "contacts": [                             {                                 "profile": {                                     "name": "XXXXXXX"                                 }                             }                         ],                         "messages": [                             {                                 "from": "XXXXXXXXXX",                                 "id": "wamid.aisjdoiajsodiajsodasd\u003d",                                 "timestamp": "1657527108",                                 "type": "image"                             }                         ],                         "metadata": {}                     }                 }             ],             "id": "124071984791824"         }     ],     "object": "whatsapp_business_account" } 

Or should I try the Whatsapp On-premises API? https://developers.facebook.com/docs/whatsapp/on-premises/reference/media/media-id

As I mentioned above, are there any API's available for uploading status (text, images and videos etc.) in the WhatsApp Businesses platform? For businesses messaging we can use Cloud API https://developers.facebook.com/docs/whatsapp/cloud-api or On-Premises API https://developers.facebook.com/docs/whatsapp/on-premises . Like messages API's, I am searching for status uploading API's. If anyone knows about this please guide me.

I've installed WhatsApp business client on my linux docker containers, I have managed to hit the /v1/health route perfectly and have also changed the default password through an endpoint.

But, I'm getting an error when I try to access POST request /v1/contacts . The error is:

{     "meta": {         "version": "v2.41.2",         "api_status": "stable"     },     "errors": [         {             "code": 1014,             "title": "Internal error",             "details": "Connection refused. Please check if wacore is running: wacore:6251"         }     ] } 

However, my wacore container is indeed running:

Docker Container Image

P.S: Some questions already posted here with similar titles don't solve my issue.