Media
Delete media
Delete a media file from WhatsApp.
You can optionally provide phone_number_id query parameter to verify the media belongs to that phone number before deletion.
DELETE
Delete media
Authorizations
Project API key for authentication. This is the recommended authentication method.
Get your API key from the Kapso dashboard under Integrations > API keys.
Path Parameters
Media ID returned from upload
Query Parameters
Optional - verify media belongs to this phone number
Response
Media deleted successfully
Example:
true
Previous
Download media fileDownload a media file using a short-lived authenticated token.
Tokens are returned in the `download_url` field of the [Get media URL](#operation/getMediaUrl) response.
They expire 4 minutes after issue.
No `X-API-Key` header is needed — authentication is embedded in the token.
Next
Delete media

