---
title: "POST /rest/instance/downloadMediaMessage/{instance_key}"
method: POST
path: "/rest/instance/downloadMediaMessage/{instance_key}"
tags: ["InstanceController"]
---

# POST /rest/instance/downloadMediaMessage/{instance_key}

`POST /rest/instance/downloadMediaMessage/{instance_key}`

## Path parameters

- `instance_key` string, required

## Request body

- object
  - `messageKeys` MediaMessageKeys
    - `mediaKey` string
    - `directPath` string
    - `url` string
    - `mimetype` string
    - `messageType` string

## Response `200`

Success

---

[API](https://skmtc.dev/megaapi/apis/documentation-megaapi.md) · [All operations](https://skmtc.dev/megaapi/apis/documentation-megaapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/megaapi/documentation-megaapi/revisions/09ca1205343e/schema)
