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

# Event Types

> List of supported event types and their payload.

### `chat.started`

Occurs whenever a conversation begins, marked by a user sending a message.

<Accordion title="Sample Request Body">
  ```json theme={"system"}
  {
    "id": "webhook_123456789",
    "type": "chat.started",
    "created": 1708646472,
    "data": {
      "chat_id": "8b146471-e88e-4322-86af-016cd36fd216",
      "created": 1708646471
    }
  }
  ```
</Accordion>

### `chat.ended`

Occurs whenever a conversation completes.

<Accordion title="Sample Request Body">
  ```json theme={"system"}
  {
    "id": "webhook_123456789",
    "type": "chat.ended",
    "created": 1708646472,
    "data": {
      "chat_id": "8b146471-e88e-4322-86af-016cd36fd216",
      "created": 1708646471
    }
  }
  ```
</Accordion>

### `chat.human_required`

Occurs whenever human assistance is needed.

<Accordion title="Sample Request Body">
  ```json theme={"system"}
  {
    "id": "webhook_123456789",
    "type": "chat.human_required",
    "created": 1708646472,
    "data": {
      "chat_id": "8b146471-e88e-4322-86af-016cd36fd216",
      "created": 1708646471
    }
  }
  ```
</Accordion>

### `contact:insight.created`

Occurs whenever new contact insight is generated.

<Accordion title="Sample Request Body">
  ```json theme={"system"}
  {
    "id": "webhook_123456789",
    "type": "contact:insight.created",
    "created": 1708646472,
    "data": {
      "contact_id": "8b146471-e88e-4322-86af-016cd36fd216",
      "created": 1708646471
    }
  }
  ```
</Accordion>

### `contact:insight.updated`

Occurs whenever contact insight is modified.

<Accordion title="Sample Request Body">
  ```json theme={"system"}
  {
    "id": "webhook_123456789",
    "type": "contact:insight.updated",
    "created": 1708646472,
    "data": {
      "contact_id": "8b146471-e88e-4322-86af-016cd36fd216",
      "key": "preference",
      "value": "email",
      "created": 1708646471
    }
  }
  ```
</Accordion>

### `contact:attribute.created`

Occurs whenever a new contact attribute is added.

<Accordion title="Sample Request Body">
  ```json theme={"system"}
  {
    "id": "webhook_123456789",
    "type": "contact:attribute.created",
    "created": 1708646472,
    "data": {
      "contact_id": "8b146471-e88e-4322-86af-016cd36fd216",
      "created": 1708646471
    }
  }
  ```
</Accordion>

### `contact:attribute.updated`

Occurs whenever a contact attribute is modified.

<Accordion title="Sample Request Body">
  ```json theme={"system"}
  {
    "id": "webhook_123456789",
    "type": "contact:attribute.updated",
    "created": 1708646472,
    "data": {
      "contact_id": "8b146471-e88e-4322-86af-016cd36fd216",
      "key": "company",
      "value": "Acme Corp",
      "created": 1708646471
    }
  }
  ```
</Accordion>

### `task.completed`

Occurs whenever an agent task is finished.

<Accordion title="Sample Request Body">
  ```json theme={"system"}
  {
    "id": "webhook_123456789",
    "type": "task.completed",
    "created": 1708646472,
    "data": {
      "task_id": "8b146471-e88e-4322-86af-016cd36fd216",
      "task_name": "Send welcome email",
      "chat_id": "8b146471-e88e-4322-86af-016cd36fd216",
      "created": 1708646471
    }
  }
  ```
</Accordion>

### `performance.recorded`

Occurs whenever an agent logs a successful Qualified Opportunity. Learn more about [Team Usage](/platform/team/usage).

<Accordion title="Sample Request Body">
  ```json theme={"system"}
  {
    "id": "webhook_123456789",
    "type": "performance.recorded",
    "created": 1708646472,
    "data": {
      "performance_record_id": "8b146471-e88e-4322-86af-016cd36fd216",
      "metric": "instructions",
      "details": "Instructions-Aligned Outcome: Successfully guided prospect through qualification process and captured key business requirements",
      "created": 1708646471
    }
  }
  ```
</Accordion>
