From ccd42b50d480a6e23d0c416960029e9c1c3b0e58 Mon Sep 17 00:00:00 2001 From: Sidney Gomes Date: Thu, 23 Jul 2026 22:24:23 -0300 Subject: [PATCH] Fix payload in Evolution API instance creation by adding integration parameter --- server.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.ts b/server.ts index a86bbd2..5c0c60c 100644 --- a/server.ts +++ b/server.ts @@ -1281,7 +1281,8 @@ app.get('/api/admin/whatsapp/qrcode', authenticateToken, requireAdmin, async (re // Instance does not exist, create it await axios.post(`${apiUrl}/instance/create`, { instanceName: instance, - qrcode: true + qrcode: true, + integration: 'WHATSAPP-BAILEYS' }, { headers }); } else { throw err;