Actions66
- Account Actions
- API Key Actions
- Chat Actions
- Contact Actions
- Group Actions
- Media Actions
- Message Actions
- Queue Actions
- Sync Actions
- System Actions
- Webhook Actions
Media → Get
AI-generatedSummary
Retrieve metadata for one media item from a selected WhatsApp account using its media ID. The operation returns metadata only; use Media: Download File to fetch the item's bytes.
Inputs
- Account Name or ID — Select the WhatsApp account. It can be left empty when the API key is bound to one account; choose an account explicitly when the key can access multiple accounts.
- Media ID (required) — The media item's ID, obtained from Media: Get Many or a media.discovered trigger event.
Output shape
A single item containing the media metadata as JSON.
Metadata includes fields such as messageId, chatId, type, mimeType, fileName, fileSize, caption, direction, dimensions or duration when available, state, downloadedAt, aiContext, needsContext, apiPath, and thumbnailApiPath. It does not include file bytes. Check state to determine whether the file is downloaded and available through Download File.