get https://api.indigitall.com/v2/meta/cloudapi//whatsapp_business/attachments
Downloads media from Meta's Cloud API using the URL provided by the /meta/cloudapi/{appId}/{mediaId}
endpoint.
The URL has a time-to-live (TTL) of 5 minutes, and the hostname (https://lookaside.fbsbx.com
) must be removed before sending the request to this endpoint.
Example Usage
- Retrieve media metadata:
GET /meta/cloudapi/{appId}/{mediaId}
- Use the response to download the media:
GET /meta/cloudapi/{appId}/whatsapp_business/attachments?mid=9876543210987654321&ext=1678901234567&hash=ABcD1234EfGh