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

# deal.contact_added

> Outbound webhook Klipy sends when a contact is linked to a deal. The payload ships unenriched, using Klipy's raw camelCase field names.

# `deal.contact_added`

## What this event means

`deal.contact_added` is emitted whenever a contact link is created for a deal.

## Webhook `type`

`deal.contact_added`

## Internal source mapping

| Internal event | Trigger path |
| - | - |
| `deal.contact_added` | A new `dealContacts` record is inserted for a deal. |

## Payload example

No enricher is registered for this event, so Klipy ships the raw internal
payload as-is. Fields use camelCase, matching Klipy's internal field names
rather than the snake\_case shape used by enriched events like `deal.moved`.

```json theme={null}
{
  "type": "deal.contact_added",
  "object": "event",
  "data": {
    "dealId": "dl_1a2b3c",
    "pipelineId": "pl_b4c5d6",
    "stageId": "st_e5f6g7",
    "stageName": "Discovery",
    "contactId": "h7w8y2f1",
    "type": "PRIMARY",
    "supervisor": "h9x2k4u7"
  }
}
```

* `data.type` is the contact's role on the deal (for example `PRIMARY`). It
  is unrelated to the top-level `type` field and may be absent.
* `data.supervisor` is the contact ID of the associated supervisor contact,
  when that relation is stored. It may be absent.

## Delivery and idempotency handling

* Use `data.dealId` + `data.contactId` together as a robust idempotency pair.
* Contact-association events can arrive in rapid succession; apply upsert logic to avoid duplicate relationships.
* `data.type` and `data.supervisor` may be omitted for some records. Persist defensively.

## Related links

* [Webhook introduction](https://klipy.ai/docs/developers/webhooks/introduction.md)
* [Webhook event types](https://klipy.ai/docs/developers/webhooks/event-types.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.