Crie sua conta grátis e teste por 7 dias ( você não será cobrado no período de testes )

Webhook

Webhook

Cada conexão permite a configuração de um endpoint específico.

Desta forma, você poderá receber notificações das mensagens e eventos transacionadas onde desejar.

Confira abaixo exemplos de playload em json:

MENSAGENS
JSON
{
    "filaescolhida": "Geral",
    "filaescolhidaid": 1,
    "mensagem": "wr43r34",
    "sender": "5511978097649",
    "chamadoId": 357,
    "acao": "start",
    "name": "Rodrigo Cruz",
    "companyId": 1,
    "defaultWhatsapp_x": 2,
    "fromMe": false,
    "queueId": 1,
    "isGroup": false,
    "ticketData": {
        "id": 357,
        "status": "pending",
        "unreadMessages": 1,
        "lastMessage": "Aguarde! Em breve você será atendido...",
        "isGroup": false,
        "userId": null,
        "contactId": 4192,
        "whatsappId": 2,
        "queueId": 1,
        "chatbot": false,
        "channel": "whatsapp",
        "queueOptionId": null,
        "companyId": 1,
        "uuid": "cabd8ddd-f5e1-43ab-8661-7b0385ca4e1b",
        "createdAt": "2023-08-30T02:27:15.376Z",
        "updatedAt": "2023-10-12T14:07:44.618Z",
        "contact": {
            "id": 4192,
            "name": "Rodrigo Cruz",
            "number": "5511978097649",
            "email": "",
            "profilePicUrl": "https://pps.whatsapp.net/v/t61.24694-24/323970788_1137981286878828_1882391295127733628_n.jpg?stp=dst-jpg_s96x96&ccb=11-4&oh=01_AdRIhDQmoDnnUAXJdVlRp9eCiVzLdQK5ogchK1GhiSLnAw&oe=6534E077&_nc_sid=000000&_nc_cat=101",
            "acceptAudioMessage": true,
            "active": true,
            "disableBot": false,
            "extraInfo": []
        },
        "user": null,
        "queue": {
            "id": 1,
            "name": "Geral",
            "color": "#008b02"
        },
        "whatsapp": {
            "name": "Suporte Técnico",
            "webhook": "https://en16nq4b2guar.x.pipedream.net/",
            "id": 2
        },
        "tags": [
            {
                "id": 91,
                "name": "Demandas em Aberto",
                "color": "#00C75A",
                "TicketTag": {
                    "ticketId": 357,
                    "tagId": 91,
                    "createdAt": "2023-10-11T02:38:00.633Z",
                    "updatedAt": "2023-10-11T02:38:00.633Z"
                }
            }
        ],
        "company": {
            "name": "Robô Mensageiro"
        }
    }
}
TAGS
JSON
{
    "action": "tag-sync",
    "tags": {
        "ticketId": 383,
        "tags": [
            {
                "id": 27,
                "name": "Nome da Tag",
                "color": "#DD821A",
                "kanban": 1,
                "prioridade": 0,
                "conversao": "QUOTE",
                "companyId": 1,
                "createdAt": "2023-07-28T21:03:40.037Z",
                "updatedAt": "2023-09-10T22:35:53.648Z"
            }
        ]
    },
    "contact": {
        "id": 4300,
        "name": "Nome do Cliente",
        "number": "5511978097649",
        "email": "",
        "profilePicUrl": "",
        "acceptAudioMessage": true,
        "active": true,
        "disableBot": false,
        "extraInfo": []
    }
}
ARQUIVOS ENVIADOS E RECEBIDOS
JSON
{
    "sender": "5511978097649",
    "chamadoId": 357,
    "acao": "fila-data",
    "companyId": 1,
    "defaultWhatsapp_x": 2,
    "fromMe": false,
    "queueId": 29,
    "isGroup": false,
    "ticketData": {
        "id": 357,
        "status": "open",
        "unreadMessages": 6,
        "lastMessage": "Áudio",
        "isGroup": false,
        "userId": 6,
        "contactId": 4192,
        "whatsappId": 2,
        "queueId": 29,
        "chatbot": false,
        "channel": "whatsapp",
        "queueOptionId": null,
        "companyId": 1,
        "uuid": "cabd8ddd-f5e1-43ab-8661-7b0385ca4e1b",
        "createdAt": "2023-08-30T02:27:15.376Z",
        "updatedAt": "2023-10-12T13:52:28.783Z",
        "contact": {
            "id": 4192,
            "name": "Rodrigo Cruz",
            "number": "5511978097649",
            "email": "",
            "profilePicUrl": "https://pps.whatsapp.net/v/t61.24694-24/323970788_1137981286878828_1882391295127733628_n.jpg?stp=dst-jpg_s96x96&ccb=11-4&oh=01_AdRIhDQmoDnnUAXJdVlRp9eCiVzLdQK5ogchK1GhiSLnAw&oe=6534E077&_nc_sid=000000&_nc_cat=101",
            "acceptAudioMessage": true,
            "active": true,
            "disableBot": false,
            "extraInfo": []
        },
        "user": {
            "id": 6,
            "name": "Atendente 2"
        },
        "queue": {
            "id": 29,
            "name": "Grupo 1",
            "color": "#653294"
        },
        "whatsapp": {
            "name": "Suporte Técnico",
            "webhook": "https://en16nq4c2guar.x.pipedream.net/",
            "id": 2
        },
        "tags": [
            {
                "id": 91,
                "name": "Demandas em Aberto",
                "color": "#00C75A",
                "TicketTag": {
                    "ticketId": 357,
                    "tagId": 91,
                    "createdAt": "2023-10-11T02:38:00.633Z",
                    "updatedAt": "2023-10-11T02:38:00.633Z"
                }
            }
        ],
        "company": {
            "name": "Robô Mensageiro"
        }
    },
    "mediaFolder": "public/company1",
    "mediaName": "1697118720977.ogg",
    "backendURL": "https://painel.robomensageiro.com.br"
}
STATUS DO TICKET
JSON
{
    "sender": "5511978097649",
    "chamadoId": 357,
    "acao": "open",  // STATUS open ou closed
    "companyId": 1,
    "defaultWhatsapp_x": 2,
    "queueId": 1,
    "isGroup": false,
    "ticketData": {
        "id": 357,
        "status": "pending",
        "unreadMessages": 1,
        "lastMessage": "2",
        "isGroup": false,
        "userId": null,
        "contactId": 4192,
        "whatsappId": 2,
        "queueId": 1,
        "chatbot": false,
        "channel": "whatsapp",
        "queueOptionId": null,
        "companyId": 1,
        "uuid": "cabd8ddd-f5e1-43ab-8661-7b0385ca4e1b",
        "createdAt": "2023-08-30T02:27:15.376Z",
        "updatedAt": "2023-10-12T14:29:04.416Z",
        "contact": {
            "id": 4192,
            "name": "Rodrigo Cruz",
            "number": "5511978097649",
            "email": "",
            "profilePicUrl": "https://pps.whatsapp.net/v/t61.24694-24/323970788_1137981286878828_1882391295127733628_n.jpg?stp=dst-jpg_s96x96&ccb=11-4&oh=01_AdRIhDQmoDnnUAXJdVlRp9eCiVzLdQK5ogchK1GhiSLnAw&oe=6534E077&_nc_sid=000000&_nc_cat=101",
            "acceptAudioMessage": true,
            "active": true,
            "disableBot": false,
            "extraInfo": []
        },
        "user": null,
        "queue": {
            "id": 1,
            "name": "Geral",
            "color": "#008b02"
        },
        "whatsapp": {
            "name": "Suporte Técnico",
            "webhook": "https://en16nq4c2guar.x.pipedream.net/",
            "id": 2
        },
        "tags": [
            {
                "id": 91,
                "name": "Demandas em Aberto",
                "color": "#00C75A",
                "TicketTag": {
                    "ticketId": 357,
                    "tagId": 91,
                    "createdAt": "2023-10-11T02:38:00.633Z",
                    "updatedAt": "2023-10-11T02:38:00.633Z"
                }
            }
        ],
        "company": {
            "name": "Robô Mensageiro"
        }
    }
}
Atendimento por WhatsAppAtendimento
WhatsApp