Core API
MEDIA
Get MediaId
GET
https://gateway.zorya.com
/api/v1/WhatsApp/{from}/media/retrieve
This endpoint retrieves media content sent or received via WhatsApp by providing the mediaId returned in a message and the associated from number that owns the media. The endpoint allows for secure download or processing of media files linked to a WhatsApp message.
Request Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
from | String | The phone number that sent or received the media file | Yes |
mediaId | String | The ID of the media returned by WhatsApp | Yes |