Configure a URL para onde as mensagens recebidas serao encaminhadas (seu sistema Omnichannel).
{ "conversationId": "uuid", "text": "Sua mensagem aqui" }
FormData: conversationId, file, message (opcional)
{ "url": "https://...", "secret": "opcional" }
{
"event": "message.received",
"conversationId": "uuid",
"messageId": 1,
"message": {
"text": "Texto da mensagem",
"type": "text | attachment",
"attachments": [{ "name": "...", "contentType": "...", "contentUrl": "..." }]
},
"from": { "id": "user-teams-id", "name": "Nome do Usuario" },
"conversation": { "id": "uuid", "teamsConversationId": "teams-conv-id" },
"timestamp": "2026-03-20T12:00:00.000Z"
}
Headers:
X-Bot-Event: message.received
X-Webhook-Signature: hmac-sha256 (se secret configurado)