Skip to main content

WhatsApp Cloud API - Media API | Developer Documentation

WhatsApp Cloud API - Media API

Copy for LLM
Version
Retrieve and delete uploaded media files by media ID.
Get media URLs with file metadata including size, MIME type, and SHA256 hash.
Media URLs are valid for 5 minutes after retrieval.

Select language

Select status code


DELETE /{Version}/{Media-ID}

To delete media, make a DELETE call to the ID of the media you want to delete.

Prerequisites

User Access Token with whatsapp_business_messaging permission
Media object ID from either uploading media endpoint or media message Webhooks
Responses
To delete media, make a DELETE call to the ID of the media you want to delete.

Prerequisites

User Access Token with whatsapp_business_messaging permission
Media object ID from either uploading media endpoint or media message Webhooks
200
Delete Media
Content Type: application/json
Schema: object
Show child attributes

successboolean
Select language

Select status code

Authentication

Scheme
Type
Location
bearerAuth
HTTP Bearer
Header: Authorization

Usage Examples

bearerAuth:
Include Authorization: Bearer your-token-here in request headers

Global Authentication Requirements

All endpoints require:
bearerAuth