Retrieve the download URL for a media file.
Important: The returned URL is temporary and expires after 5 minutes.
Project API key for authentication. This is the recommended authentication method.
Get your API key from the Kapso dashboard under Project Settings > API Keys.
Media ID returned from upload
Phone number ID that owns this media
Media URL retrieved successfully
whatsapp "whatsapp"
Media ID
"2621233374848975"
Temporary download URL (valid for 5 minutes)
"https://lookaside.fbsbx.com/whatsapp_business/attachments/?mid=..."
MIME type
"image/jpeg"
File hash
"81d3bd8a8db4868c9520ed47186e8b7c5789e61ff79f7f834be6950b808a90d3"
File size in bytes (returned as string)
"303833"