Retrieve media by ID

Fetches media details using Meta's Cloud API. Refer to Meta's Media API documentation. The returned URL is valid for 5 minutes and must be used to download the media via the /meta/cloudapi/{appId}/whatsapp_business/attachments endpoint.

Example Response

{
  "url": "https://lookaside.fbsbx.com/whatsapp_business/attachments/?mid=9876543210987654321&ext=1678901234567&hash=ABcD1234EfGh",
  "mimeType": "image/jpeg",
  "size": 45678
}

Use the url field to download the media. For example, remove the root hostname https://lookaside.fbsbx.com and send the remainder to the /meta/cloudapi/{appId}/whatsapp_business/attachments endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required

Customer application id

number
required

Media id

Response

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