---
title: "Sends a link preview message with custom thumbnail"
method: POST
path: "/api/messages/sendLinkWithThumbnail"
tags: ["messages"]
---

# Sends a link preview message with custom thumbnail

`POST /api/messages/sendLinkWithThumbnail`

Sends a link preview message with custom thumbnail

## Request body

- object
  - `thumb` string, required — Base64 thumbnail (max 200x200px)
  - `url` string, uri, required — Link URL
  - `title` string, required — Link title
  - `description` string, required — Link description
  - `content` string, required — Message content
  - `to` string, required — Recipient chat ID
  - `quotedMsgId` string — Message ID
  - `customSize` object — Custom thumbnail size
    - `height` number, required
    - `width` number, required

## Response `200`

Successful response

- union
  - object
    - `_serialized` string, required
  - boolean

## Other responses

- `400` — Validation error
- `500` — Internal server error

---

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