# deal.created

> Deal created: a deal was made: by hand, from a lead or by the AI manager.

- **Topic:** `deal.created`, in the `Kaizena-Webhook-Topic` header and the body's `topic`
- **Sent to:** Your own endpoints, and apps
- **About:** the `deal`, under `data.deal`
- **Payload version:** 1

## Payload {#payload}

| Field | Type | Description |
|---|---|---|
| `id` | string (uuid) | The delivery's id: the same when a delivery is sent again, so a receiver can do it once. |
| `topic` | `"deal.created"` |   |
| `version` | `1` | The payload's version; a change to a shape raises it. |
| `store` | object |   |
| `store.slug` | string |   |
| `store.name` | string |   |
| `created_at` | string (date-time) | When the event happened. |
| `data` | object |   |
| `data.deal` | object |   |
| `data.deal.id` | string (uuid) |   |
| `data.deal.title` | string |   |
| `data.deal.status` | one of `open`, `won`, `lost` |   |
| `data.deal.pipeline` | object |   |
| `data.deal.pipeline.id` | string (uuid) |   |
| `data.deal.pipeline.name` | string |   |
| `data.deal.stage` | object |   |
| `data.deal.stage.id` | string (uuid) |   |
| `data.deal.stage.name` | string |   |
| `data.deal.stage.position` | integer | Its place in the pipeline, from 0. |
| `data.deal.value` | number or null | What the deal is worth in `currency`: its linked orders', quotes' and Work assignments' amounts, or the estimate while nothing is linked; null when there is neither. |
| `data.deal.currency` | string | The store's main currency, which `value` is in. |
| `data.deal.customer_id` | string (uuid) or null |   |
| `data.deal.company_id` | string (uuid) or null |   |
| `data.deal.owner_id` | string (uuid) or null | The staff member who owns the deal. |
| `data.deal.expected_close_on` | string or null | A date, YYYY-MM-DD. |
| `data.deal.closed_at` | string (date-time) or null |   |
| `data.deal.closed_via` | one of `person`, `order`, `work_invoice`, `platform`, `contract` or null | What closed it: a person, a paid order, an issued Work invoice, Kaizena Flow's own records or a signed contract. |
| `data.deal.stage_entered_at` | string (date-time) |   |
| `data.deal.created_at` | string (date-time) |   |
| `data.deal.admin_url` | string | Where it is in the store's admin; empty in a sample. |

## Example {#example}

```json
{
  "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
  "topic": "deal.created",
  "version": 1,
  "store": {
    "slug": "your-store",
    "name": "Example"
  },
  "created_at": "2026-11-03T09:30:00Z",
  "data": {
    "deal": {
      "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
      "title": "Linen shirt",
      "status": "open",
      "pipeline": {
        "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
        "name": "Example"
      },
      "stage": {
        "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
        "name": "Example",
        "position": 1
      },
      "value": 1,
      "currency": "NOK",
      "customer_id": "0af2dcd1-60e1-45c6-9774-425ae857a555",
      "company_id": "81fce656-4030-4f84-ad6f-c3bd6e5b8285",
      "owner_id": "8f3a55b2-b201-4e08-8de8-8bd1c4eb0b69",
      "expected_close_on": "example",
      "closed_at": "2026-11-03T09:30:00Z",
      "closed_via": "person",
      "stage_entered_at": "2026-11-03T09:30:00Z",
      "created_at": "2026-11-03T09:30:00Z",
      "admin_url": "https://kaizenaflow.com/admin/your-store"
    }
  }
}
```

Every value is an example of its type, not a real store's.

## Signature and retries {#signature}

Each delivery carries the [headers](https://docs.kaizenaflow.com/reference/webhooks#headers) every topic has and is signed: [check the signature](https://docs.kaizenaflow.com/reference/webhooks#signature) before you trust it. One not answered with a 2xx status is [tried again](https://docs.kaizenaflow.com/reference/webhooks#retries).

---

https://docs.kaizenaflow.com/reference/webhooks/deal-created · made from the API contract 1.57
