Texto com prévia de link: uazapi e Orkesio
Na uazapi: POST /send/text. Na Orkesio: POST /messages com "type": "text". A rota da uazapi continua funcionando.
Na uazapi a prévia ia em campos soltos (linkPreview, linkPreviewTitle, linkPreviewDescription, linkPreviewImage); na Orkesio fica tudo em link_preview.
Pedido
uazapi (POST /send/text)
{
"number": "5511999999999",
"text": "Veja o pedido: https://loja.exemplo/p/42",
"linkPreview": true,
"linkPreviewTitle": "Pedido 42",
"linkPreviewDescription": "Acompanhe a entrega",
"linkPreviewImage": "https://loja.exemplo/p/42.jpg",
"linkPreviewLarge": true
}Orkesio (POST /messages)
{
"to": "5511999999999",
"type": "text",
"text": "Veja o pedido: https://loja.exemplo/p/42",
"link_preview": {
"title": "Pedido 42",
"description": "Acompanhe a entrega",
"image_url": "https://loja.exemplo/p/42.jpg",
"large": true
}
}Resposta
O content da uazapi é o proto do WhatsApp; aqui vai resumido (...).
uazapi
{
"id": "5511888888888:3EB05DCE1D4036FCE241C6",
"messageid": "3EB05DCE1D4036FCE241C6",
"chatid": "5511999999999@s.whatsapp.net",
"chatlid": "123456789012345@lid",
"fromMe": true,
"isGroup": false,
"groupName": "",
"sender": "987654321098765@lid",
"sender_pn": "5511888888888@s.whatsapp.net",
"sender_lid": "987654321098765@lid",
"senderName": "",
"messageType": "ExtendedTextMessage",
"mediaType": "",
"messageTimestamp": 1792238400000,
"source": "web",
"status": "",
"text": "Veja o pedido: https://loja.exemplo/p/42",
"content": {
"text": "Veja o pedido: https://loja.exemplo/p/42",
"matchedText": "https://loja.exemplo/p/42",
"title": "Pedido 42",
"description": "Acompanhe a entrega",
"JPEGThumbnail": "/9j/4AAQ...",
"contextInfo": {}
},
"quoted": "",
"edited": "",
"reaction": "",
"vote": "",
"buttonOrListid": "",
"convertOptions": "",
"pinned": false,
"owner": "5511888888888",
"wasSentByApi": true,
"track_source": "",
"track_id": "",
"response": {
"status": "success",
"message": "Message sent successfully"
}
}Orkesio
{
"id": "3EB05DCE1D4036FCE241C6",
"chat_id": "5511999999999@s.whatsapp.net",
"author": {
"id": "5511888888888@s.whatsapp.net",
"phone": "5511888888888"
},
"direction": "out",
"sent_at": "2026-10-17T12:00:00.000Z",
"category": "unsent",
"type": "text",
"text": "Veja o pedido: https://loja.exemplo/p/42",
"link_preview": {
"url": "https://loja.exemplo/p/42",
"title": "Pedido 42",
"description": "Acompanhe a entrega"
},
"sent_by": "api",
"status": "queued"
}Texto com prévia de link na Orkesio: canais, webhook e a resposta do contato