Download Media
When you receive an incoming message having image/video/sticker/audio/document from user initiated webhook, you can use the below endpoint to download media sent by the user:
Endpoint
GET
/whatsapp/v2/download/{media_id}
Header
Authentication
AUTHORIZATION: Bearer Token
Request parameters
Parameter | Value / Pattern | Example(s) |
---|---|---|
*media_id | id given in image/video/sticker/audio/document object for user initiated message postback | 1645986862789581 |