Send link with custom preview
| Property | Type | Required | Description |
|---|---|---|---|
sessionId | string | ✅ Yes | Authenticated session ID that will send the message |
jid | string | ✅ Yes | Recipient identifier (WhatsApp JID). Format: [email protected] for contacts or [email protected] for groups |
text | string | ✅ Yes | Message text accompanying the link |
preview | object | ✅ Yes | Object containing the custom preview information |
preview.url | string | ✅ Yes | Link URL |
preview.title | string | ✅ Yes | Title that will appear in the preview |
preview.description | string | ✅ Yes | Description that will appear in the preview |
preview.image | string | ❌ No | Preview image encoded in base64 |
200 - Link with custom preview sent successfully400 - Invalid parameters401 - Unauthorized session404 - Session not foundYour Wappfy API key (get it at dash.wappfy.com.br)
Message text. MUST include the URL provided in preview.url
Session name (instanceName)
"my-session"
Message ID you want to reply to
null
The response is of type object.