get
https://partner.gupshup.io/partner/bizgate/app//media/
Downloads the binary contents of a previously uploaded or received media file by its id.
Request parameters
Path parameters
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| appId | Identifier of the WhatsApp app the call acts on. | 6f414190-d45c-4671-bca1-fb6c3018cb13 | String | Required |
| mediaId | Identifier of the uploaded media object. | 4::aW1hZ2UvanBlZw== | String | Required |
Sample cURL — Download media by id.
curl --request GET \
--url 'https://partner.gupshup.io/partner/bizgate/app/6f414190-d45c-4671-bca1-fb6c3018cb13/media/4::aW1hZ2UvanBlZw==' \
--header 'Authorization: Bearer <UT>' \
--header 'Accept: application/json'Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…