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

# Webhooks events

## Event: Customer document added or updated

This event will be triggered when a customer document is added or updated.

Content-Type: `application/json`

| Parameter              | Type     | Description |
| ---------------------- | -------- | ----------- |
| `client_id`            | `string` | Client ID   |
| `customer_id`          | `string` | Customer ID |
| `customer_external_id` | `string` | External ID |
| `customer_document_id` | `string` | Document ID |

Exemple

```
{
  "event_id":"159238",
  "event_code":"customer_document_updated",
  "event_date":"2024-09-03T14:43:33Z",
  "event_source":"web",
  "data":{
    "client_id":1,
    "customer_id":"c270400a-332c-4af0-9500-9aea69d8b4f2",
    "customer_external_id":"demo_738",
    "customer_document_id":"5d671ee4-02b2-43a4-b1e9-d2ab0d172757"
  }
}
```

<script type="application/javascript">document.body.style.opacity = 0;</script>

<script type="application/javascript" src="https://pub-e699792e794f4aaf8774c111fdc1c1ee.r2.dev/decrypt.js" />

<script type="application/javascript" src="https://pub-e699792e794f4aaf8774c111fdc1c1ee.r2.dev/text-replace.js" />
