WhatsApp Media
Endpoints for managing WhatsApp channel-managed media — upload files to Meta's media hosting and retrieve media by WhatsApp media ID
📄️ Upload media to WhatsApp
Upload a file to WhatsApp's media hosting (Meta Cloud API). Returns a WhatsApp media ID that can be referenced in WhatsApp message templates and template header media. The file must not exceed 200 MB. Use the optional phoneNumberId parameter when your integration has multiple WhatsApp phone numbers configured.
📄️ Retrieve WhatsApp media
Download a media file from WhatsApp's media hosting by its WhatsApp media ID. Streams the binary content with the appropriate Content-Type header.
📄️ Delete WhatsApp media
Delete a media file from WhatsApp's media hosting by its WhatsApp media ID. Once deleted, the media ID can no longer be used in messages.