---
title: "Download an image"
method: POST
path: "/message/downloadimage"
tags: ["Message"]
---

# Download an image

`POST /message/downloadimage`

Download an image

## Request body

- GithubComZapboxAPIEvolutionGoPkgMessageServiceDownloadImageStruct
  - `directPath` string
  - `fileEncSHA256` integer[]
  - `fileLength` integer
  - `fileSHA256` integer[]
  - `mediaKey` integer[]
  - `mimetype` string
  - `url` string

## Response `200`

success

- GinH

## Other responses

- `400` — Error on validation
- `500` — Internal server error

## Changes

- **2026-03-25** `9a999e5656cb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/evolution-foundation/apis/evolution-go/changes/message/downloadimage/post.md)

---

[API](https://skmtc.dev/evolution-foundation/apis/evolution-go.md) · [All operations](https://skmtc.dev/evolution-foundation/apis/evolution-go/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evolution-foundation/evolution-go/revisions/9a999e5656cb/schema)
