---
title: "hubspot_deal.stage_changed"
description: "Delivered when hubspot_deal.stage_changed occurs. Signed per the Standard Webhooks specification: verify the webhook-signature header over the exact bytes of webhook-id, webhook-timestamp and the raw body, and reject a timestamp more than five minutes from your own clock."
image: "https://docs.quirelms.com/og.png"
---

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

Path: Quire API

`POST hubspot_deal.stage_changed`

_Webhook._

Delivered when hubspot_deal.stage_changed occurs. Signed per the Standard Webhooks specification: verify the webhook-signature header over the exact bytes of webhook-id, webhook-timestamp and the raw body, and reject a timestamp more than five minutes from your own clock.

## Request body

_Required._

- `hubspot_deal.stage_changed.id` (string, required) — Equal to the webhook-id header and to the outbox event identifier. Deduplicate on it.
- `hubspot_deal.stage_changed.type` (string, required)
- `hubspot_deal.stage_changed.version` (integer, required)
- `hubspot_deal.stage_changed.occurred_at` (string, required)
  - format `date-time`
- `hubspot_deal.stage_changed.tenant` (object, required)
  - `hubspot_deal.stage_changed.tenant.id` (string, required)
  - `hubspot_deal.stage_changed.tenant.slug` (string, required)
- `hubspot_deal.stage_changed.subscription_id` (string, required)
- `hubspot_deal.stage_changed.livemode` (boolean, required)
- `hubspot_deal.stage_changed.data` (object, required)
  - `hubspot_deal.stage_changed.data.deal_id` (string, required)
  - `hubspot_deal.stage_changed.data.email` (string | null, required)
  - `hubspot_deal.stage_changed.data.stage` (string, required)
  - `hubspot_deal.stage_changed.data.user_id` (any of, required)
    - any of: `string`, `null`
- `hubspot_deal.stage_changed.links` (map<string>, optional) — Where to read the current state of what the event is about.

## Example request

```json
{
  "id": "string",
  "type": "hubspot_deal.stage_changed",
  "version": 1,
  "occurred_at": "2019-08-24T14:15:22Z",
  "tenant": {
    "id": "string",
    "slug": "string"
  },
  "subscription_id": "string",
  "livemode": true,
  "data": {
    "deal_id": "string",
    "email": "string",
    "stage": "string",
    "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
  },
  "links": {
    "property1": "http://example.com",
    "property2": "http://example.com"
  }
}
```

## Responses

### 2XX

Any 2xx acknowledges the delivery. A 410 disables the subscription. Anything else is retried with exponential backoff and full jitter over about 36 hours.


Source: https://docs.quirelms.com/api/webhooks/hubspot_deal.stage_changed/index.md
