How to get the URL of an image in WhatsApp Business Cloud API, while we send an image through WhatsApp
While working on WhatsApp Business Cloud API, I have to send an Image through WhatsApp. When I send that image I am getting a response as a sha256 base64 string and an imageId. I want to retrieve back that image using these credentials. I'm getting a URL when I make a get request with that image id. That URL is actually broken/invalid and I'm not getting the image back.
Response of the request is given below :
"messages": [ { "from": "918******6", "id": "wamid.HBgMOT*********EA", "timestamp": "1655978686", "type": "image", "image": { "mime_type": "image/jpeg", "sha256": "ian**********jM4k=", "id": "4**********7" } } ]