---
title: "Retrieve a temporary link to the image of message"
method: GET
path: "/v0/messages/{id}/image_link"
tags: ["Messages"]
---

# Retrieve a temporary link to the image of message

`GET /v0/messages/{id}/image_link`

Retrieve a temporary link to the image of the message

## Path parameters

- `id` string, uuid, required

## Query parameters

- `link_duration_seconds` integer, nullable — Period link should be valid for. Default is 15 minutes, max 7 days.
- `platform_link` boolean — When true, link will always be presigned against Sublime. When false, the link may be to S3 directly.
- `recompute_mdm_from_raw` boolean, nullable — When true, recompute the MDM from the raw EML. For internal use only!
- `remove_large_text_fields` boolean, nullable — When true, any text field over 1MB will be cleared before returning

## Response `200`

OK

- HandlerTypesMessageImageLink
  - `expires_in` integer, required — Approximate duration of link in seconds
  - `url` string, required — Temporary link to image

---

[API](https://skmtc.net/sublime/apis/sublime-platform-api.md) · [All operations](https://skmtc.net/sublime/apis/sublime-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sublime/sublime-platform-api/versions/d5df82850357/schema)
