WhatsApp · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Whatsapp Media API
8 actions
8 updates
phrasing
extends
openapi/whatsapp-media-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for WhatsApp's API. It is a proposal applied on top of the contract, not a document WhatsApp publishes.
What the actions change
x-apievangelist-phrasing
Targets 8
$.info
$.paths['/{Version}/{Phone-Number-ID}/media'].post
$.paths['/{Version}/{Media-ID}'].get
$.paths['/{Version}/{Media-ID}'].delete
$.paths['/{Version}/{Media-URL}'].get
$.paths['/{phone-number-id}/media'].post
$.paths['/{media-id}'].get
$.paths['/{media-id}'].delete
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Whatsapp Media API
version: 1.0.0
extends: openapi/whatsapp-media-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-15'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 7
- target: $.paths['/{Version}/{Phone-Number-ID}/media'].post
update:
x-apievangelist-phrasing:
intent: Upload an image to WhatsApp for business messages
effect: write
questions:
- How do I upload a photo so I can send it in a WhatsApp business message?
- Can I upload a .jpeg image to my WhatsApp business phone number?
- What form-data fields does the WhatsApp image upload need?
instructions:
- text: Upload image {file} to phone number {Phone-Number-ID} using API version {Version}.
slots:
file: requestBody.file
Phone-Number-ID: path.Phone-Number-ID
Version: path.Version
- text: Upload photo {file} for messaging product {messaging_product} to phone number {Phone-Number-ID} on version {Version}.
slots:
file: requestBody.file
messaging_product: requestBody.messaging_product
Phone-Number-ID: path.Phone-Number-ID
Version: path.Version
method: generated
generated: '2026-11-15'
- target: $.paths['/{Version}/{Media-ID}'].get
update:
x-apievangelist-phrasing:
intent: Get the download URL for a WhatsApp media file
effect: read
questions:
- Where do I find the URL to download an image I uploaded to WhatsApp?
- How long does a WhatsApp media download URL stay valid?
- Can I check that a media file belongs to a specific phone number before getting its URL?
instructions:
- text: Get the download URL for media {Media-ID} using API version {Version}.
slots:
Media-ID: path.Media-ID
Version: path.Version
- text: Look up the URL of media {Media-ID} on API version {Version}, only if it belongs to phone number {phone_number_id}.
slots:
Media-ID: path.Media-ID
Version: path.Version
phone_number_id: query.phone_number_id
method: generated
generated: '2026-11-15'
- target: $.paths['/{Version}/{Media-ID}'].delete
update:
x-apievangelist-phrasing:
intent: Delete an uploaded media file from WhatsApp
effect: destructive
questions:
- Can I remove a picture from WhatsApp servers after I no longer need it?
- What do I need to delete a media object from my WhatsApp Business account?
- Can I make sure a media delete only happens if the file belongs to my phone number?
instructions:
- text: Delete media {Media-ID} using API version {Version}.
slots:
Media-ID: path.Media-ID
Version: path.Version
- text: Remove media {Media-ID} on version {Version} only if it belongs to phone number {phone_number_id}.
slots:
Media-ID: path.Media-ID
Version: path.Version
phone_number_id: query.phone_number_id
method: generated
generated: '2026-11-15'
- target: $.paths['/{Version}/{Media-URL}'].get
update:
x-apievangelist-phrasing:
intent: Download a WhatsApp media file using its download URL
effect: read
questions:
- How do I download an image I uploaded to WhatsApp?
- Why can't I open a media URL in my browser without a token in the request?
instructions:
- text: Download media from URL {Media-URL} using version {Version}.
slots:
Media-URL: path.Media-URL
Version: path.Version
- text: Fetch the uploaded image pointed to by {Media-URL}.
slots:
Media-URL: path.Media-URL
method: generated
generated: '2026-11-15'
- target: $.paths['/{phone-number-id}/media'].post
update:
x-apievangelist-phrasing:
intent: Upload any media file to WhatsApp
effect: write
questions:
- How do I upload a video or audio file to WhatsApp Business?
- How long does uploaded media stay on WhatsApp servers?
instructions:
- text: Upload {file} of type {type} to WhatsApp number {phone_number_id}.
slots:
file: requestBody.file
type: requestBody.type
phone_number_id: path.phone-number-id
- text: Upload {file} to {phone_number_id} as {type} media.
slots:
file: requestBody.file
phone_number_id: path.phone-number-id
type: requestBody.type
method: generated
generated: '2026-11-15'
- target: $.paths['/{media-id}'].get
update:
x-apievangelist-phrasing:
intent: Get a temporary download URL for WhatsApp media
effect: read
questions:
- Can I get a short-lived URL to download an image I uploaded to WhatsApp?
- Can I expire a WhatsApp media download link after five minutes?
instructions:
- text: Get a temporary download URL for media {media-id}.
slots:
media-id: path.media-id
- text: Generate an expiring link to download image {media-id}.
slots:
media-id: path.media-id
method: generated
generated: '2026-11-15'
- target: $.paths['/{media-id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete WhatsApp media by its media ID
effect: destructive
questions:
- How do I remove an uploaded image from WhatsApp servers by its media ID?
- Is there a way to delete a WhatsApp file without its URL?
instructions:
- text: Delete WhatsApp media {media-id}.
slots:
media-id: path.media-id
- text: Remove the image file {media-id} from WhatsApp.
slots:
media-id: path.media-id
method: generated
generated: '2026-11-15'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/whatsapp-media-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.