🖨️Webhook

Veja abaixo a estrutura das mensagens disparadas via webhook

Eventos de mensagens

{
    "eventType": "MESSAGE_SENT",
    "date": "2022-12-20T19:23:45.148848Z",
    "content": {
        "id": "fdf40c19-dba8-4048-a47b-f3cacd62810b",
        "senderId": "396c7f68-0299-43c4-aadc-b35cb9be575a",
        "createdAt": "2022-12-20T19:23:41.5780571Z",
        "updatedAt": "2022-12-20T19:23:41.5780576Z",
        "type": "TEXT",
        "active": true,
        "sessionId": "285bc0ce-aa6f-4a86-a2cb-a76a326b50a6",
        "templateId": null,
        "userId": "81bd412d-0a0d-4c2f-aaee-a635ca7907b9",
        "timestamp": "2022-12-20T19:23:41.5799641Z",
        "text": "ConteudoMensagem",
        "direction": "TO_HUB",
        "status": "QUEUED",
        "origin": "DEFAULT",
        "readContactAt": null,
        "fileId": null,
        "refId": null,
        "waitingOptIn": false,
        "details": {
             "file": { "id": "", "publicUrl": "" },
             "location": null,
             "contact": null,
             "errors": null,
         },

    }
}

Eventos de atendimento

Eventos de contato

Last updated