---
title: "Deal created"
method: POST
path: "deal.created"
tags: ["Deals"]
---

# Deal created

`POST deal.created` (webhook)

Triggered when a deal is added to the pipeline

## Headers

- `webhook-id` string, required
- `webhook-timestamp` string, required
- `webhook-signature` string, required

## Payload

- object
  - `id` string, required: Unique identifier for this webhook event
  - `object` 'event', required
  - `type` 'deal.created', required: The event type
  - `livemode` boolean, required: `false` when a test purchase or a test event from the dashboard caused this event, `true` otherwise
  - `created_at` string, date-time, required: ISO 8601 timestamp of when the event was created
  - `api_version` string, required: API version used to generate the payload
  - `data` object, required: `object` is the resource exactly as its API endpoint returns it, with `contact` expanded.
    - `object` Deal, required
      - `id` string, required
      - `object` string, required
      - `title` string, required
      - `stage` string, required
      - `position` integer, required
      - `value` integer, nullable, required
      - `currency` string, required
      - `expected_close_on` string, date, nullable, required
      - `description` string, nullable, required
      - `next_step` string, nullable, required
      - `next_step_due_on` string, date, nullable, required
      - `won_at` string, date-time, nullable, required
      - `lost_at` string, date-time, nullable, required
      - `lost_reason` string, nullable, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `contact` union, required: ID by default, full object when expanded
        - string
        - Contact
          - `id` string, required
          - `object` string, required
          - `email` string, required
          - `name` string, nullable, required
          - `first_name` string, nullable, required
          - `last_name` string, nullable, required
          - `phone_number` string, nullable, required
          - `company` string, nullable, required
          - `lifecycle` 'lead' | 'customer', required
          - `became_customer_at` string, date-time, nullable, required
          - `notes` string, nullable, required
          - `confirmed_at` string, date-time, nullable, required
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `deleted_at` string, date-time, nullable, required
          - `purge_at` string, nullable, required
          - `subscribed` boolean
          - `anonymized` boolean, required
          - `metadata` object, required
          - `orders_count` integer, required: Live orders that went through: refunded ones count, while pending, failed and test-mode orders don't.
          - `total_spend` integer, required: Lifetime spend in the smallest unit of the account's currency, net of refunds. Test-mode orders and disputed charges are left out.
          - `tags` unknown[], required
            - unknown

## Acknowledgement `200`

Return any 2xx status within 5 seconds to acknowledge receipt.

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
