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
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required

Customer application id

Query Params
string

Media Id

string

Expiration time media

string

Meta cryptographic Hash

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json