We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f12874 commit f44ab0fCopy full SHA for f44ab0f
src/api/integrations/chatwoot/services/chatwoot.service.ts
@@ -216,6 +216,19 @@ export class ChatwootService {
216
}
217
218
inboxId = inbox.id;
219
+ const data = {
220
+ type: 'api',
221
+ webhook_url: webhookUrl,
222
+ };
223
+ await client.inboxes.update({
224
+ id: inboxId,
225
+ accountId: this.provider.account_id,
226
+ data: {
227
+ enable_auto_assignment: false,
228
+ name: inboxName,
229
+ channel: data as any,
230
+ },
231
+ });
232
233
234
this.logger.verbose('find contact in chatwoot and create if not exists');
0 commit comments