Download Media

To download media, make a DELETE call to the /media/{{ MEDIA_ID }} .

Example

Sample request:

curl -X GET 'https://waofficial.botika.online/api/whatsapp/v1/media/{{ MEDIA_ID }}' \
-H 'Authorization: Bearer {{ API_TOKEN }}'

If successful, you receive the binary data of media saved in media_file, response headers contain a content-type header to indicate the mime type of returned data.

binary-media-data

If media fails to download, you receive a 404 Not Found response code.

Copyright © 2023 Botika Teknologi Indonesia