Read WhatsApp Image ID (using Cloud API), endpoint to return image
Status: Closed · Asked by HisVoiceOnline on · 0 views
https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#download-media
I am trying to download an image from WhatsApp cloud api media id, but when I retrieve the response in pabbly, i am getting 200 ok only, but the image is missing.

I am trying to download an image from WhatsApp cloud api media id, but when I retrieve the response in pabbly, i am getting 200 ok only, but the image is missing.

I got this response from Pabbly while calling
curl --request GET \
--url 'https://lookaside.fbsbx.com/whatsapp_business/attachments/?mid=1292163661580359&ext=1668260397&hash=ATvlcsOeAE0XLXGhQ1fgpwZz1za7ziT4N8So-ZMob0GahQ' \
--header 'Authorization: Bearer EAALJgJkra08BABNsFZAYKEkUFlZBqQz8b.......'
The application processed the request but returned a blank response. Refer to the HTTP status code above for details.
But the actual response is a binary image data.
Hey @Donny
As of now retrieving a downloadable attachment file in the trigger response is not available on the platform. So the API which you are trying to use will not get the attachment file.