Download WhatsApp Business media

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

  1. Retrieve media metadata:
    GET /meta/cloudapi/{appId}/{mediaId}
    
  2. Use the response to download the media:
    GET /meta/cloudapi/{appId}/whatsapp_business/attachments?mid=9876543210987654321&ext=1678901234567&hash=ABcD1234EfGh
    
Language
Credentials
Header
Click Try It! to start a request and see the response here!