---
title: "Send a message with link preview"
method: POST
path: "/rest/sendMessage/{instance_key}/sendLinkPreview"
tags: ["SendMessageController"]
---

# Send a message with link preview

`POST /rest/sendMessage/{instance_key}/sendLinkPreview`

Send a message with link preview

## Path parameters

- `instance_key` string, required

## Request body

- object
  - `messageData` LinkPreview
    - `to` string
    - `textWithLink` string

## Response `200`

Success

---

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