> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vzaps.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Chatwoot

> Configure and inspect the Chatwoot integration with the .NET SDK

Use `client.Chatwoot` to read, configure, remove, and trigger imports.

## `client.Chatwoot.GetAsync<TResponse>(instanceId, options?)`

```csharp theme={null}
await client.Chatwoot.GetAsync<object>("VZ...", new InstanceRequestOptions { InstanceToken = "instance-token" });
```

**Return:** Chatwoot config (`Enabled`, `Url`, `AccountId`, `WebhookUrl`, `TokenMasked`, etc.).

## `client.Chatwoot.SetAsync<TResponse>(request)`

```csharp theme={null}
await client.Chatwoot.SetAsync<object>(new ChatwootSetRequest
{
    InstanceId = "VZ...",
    InstanceToken = "instance-token",
    Enabled = true,
    Url = "https://chatwoot.example.com",
    AccountId = "1",
    Token = "chatwoot-token",
    NameInbox = "VZaps",
    SignMsg = true,
    SignDelimiter = "\n",
    Number = "5511999999999",
    ReopenConversation = true,
    ConversationPending = false,
    ImportContacts = true,
    ImportMessages = false,
    DaysLimitImportMessages = 7,
    AutoCreate = true,
    Organization = "VZaps",
    Logo = "https://example.com/logo.png",
    IgnoreGroups = true,
});
```

**Return:** saved config (includes `WebhookUrl` when generated).

## `client.Chatwoot.DeleteAsync<TResponse>(instanceId, options?)`

```csharp theme={null}
await client.Chatwoot.DeleteAsync<object>("VZ...", new InstanceRequestOptions { InstanceToken = "instance-token" });
```

**Return:** integration removal confirmation.

## `client.Chatwoot.TriggerImportAsync<TResponse>(request)`

`What` accepts `contacts`, `messages`, or `all`.

```csharp theme={null}
await client.Chatwoot.TriggerImportAsync<object>(new ChatwootImportRequest
{
    InstanceId = "VZ...",
    InstanceToken = "instance-token",
    What = "all",
});
```

**Return:** import job confirmation (`contacts`, `messages`, or `all`).
