---
title: Project Phase Events
description: Firehose webhooks for project phase lifecycle updates. Every payload includes a root-level topic and a data object documented below.
sidebar:
  hidden: true
ai:
  exclude: true
seo:
  noindex: true
---

Most events share these identifiers:

| Field            | Description                                                            |
| ---------------- | ---------------------------------------------------------------------- |
| `projectPhaseId` | Unique identifier for the project phase.                               |
| `projectId`      | Unique identifier for the project this phase belongs to.               |
| `propertyId`     | Unique identifier for the property associated with this project phase. |

## Held jobs

A job created with `holdProNotification: true` is held: the pro Sibi assigns to it is told nothing until Sibi reviews the job and releases it (see [When the pro is told](/projects/create-project#when-the-pro-is-told)). Webhooks follow the same rule. While a job is held, no event on this page is delivered to the assigned labor organization, and the owner organization receives its events as usual. At release the labor organization receives [`project-phase.labor-organization.changed`](#project-phaselabor-organizationchanged) and every event after the release; they may arrive in any order. Events from before the release are not sent afterwards; fetch the phase with [Get Project Details](/projects/get-project) for its state at release.

## `projects.pending-project-request.approved`

Fired when Sibi staff approve a [createProject](/projects/create-project) call that was queued because its address resolved to a property owned by another organization (the original call got a `202 PENDING_OWNERSHIP_APPROVAL`). This is the push-based way to learn the project was created — the original REST response never carries a `projectId`, since none existed yet.

Delivered to the requesting organization only.

| Field                     | Description                                                                     |
| ------------------------- | -------------------------------------------------------------------------------- |
| `pendingProjectRequestId` | The id returned in the original `202` response — use this to correlate the two. |
| `projectId`               | Unique identifier for the project that was created.                             |
| `projectPhaseId`          | Unique identifier for the project's first phase.                                |
| `propertyId`              | Unique identifier for the property (now transferred to your organization).      |

```json
{
  "topic": "projects.pending-project-request.approved",
  "data": {
    "pendingProjectRequestId": "pending_abc123",
    "projectId": "proj_xyz789",
    "projectPhaseId": "phase_def456",
    "propertyId": "prop_abc123"
  }
}
```

You can also learn the same information by retrying the original `POST /projects` call with the identical body — see the "Queued for review" section on [Create Project](/projects/create-project). The webhook exists so you don't have to poll.

## Scheduling

Site visit and installation scheduling events share the same core shape. **Scheduled** events include a `confirmedDate` (ISO 8601). **Completed** events omit it (site visit completed includes `completedAt` instead).

Delivered to the owner organization, and to the assigned labor organization when they differ, once Sibi has released the job to it ([held jobs](#held-jobs)).

### `project-phase.site-visit.scheduled`

Fired when a site visit date is confirmed for a project phase.

| Field           | Description                                   |
| --------------- | --------------------------------------------- |
| `confirmedDate` | Confirmed site visit date in ISO 8601 format. |

```json
{
  "topic": "project-phase.site-visit.scheduled",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "confirmedDate": "2025-04-15T00:00:00.000Z"
  }
}
```


### `project-phase.site-visit.unscheduled`

> **Webhook version 2**
>
> This topic is delivered only to webhooks on version 2 or later.

Fired when a confirmed site visit date is removed. Treat the earlier `site-visit.scheduled` for `previousConfirmedDate` as cancelled: the phase has no site visit date until a new `site-visit.scheduled` arrives. Sibi does not contact the resident or the Pro about this change.

Delivered to the owner organization, and to the assigned labor organization once Sibi has released the job to it.

| Field                   | Description                                                   |
| ----------------------- | ------------------------------------------------------------- |
| `previousConfirmedDate` | The site visit date that was removed, in ISO 8601 format.     |
| `unscheduledAt`         | When the date was removed, in ISO 8601 format.                |

```json
{
  "topic": "project-phase.site-visit.unscheduled",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "previousConfirmedDate": "2025-04-15T00:00:00.000Z",
    "unscheduledAt": "2025-04-12T16:42:07.000Z"
  }
}
```

### `project-phase.site-visit.completed`

Fired when the assigned labor organization marks the site visit complete, or skips it in favor of photos already on hand (e.g. from a sales visit).

| Field         | Description                                                                                                        |
| ------------- | ------------------------------------------------------------------------------------------------------------------ |
| `completedAt` | Timestamp when the site visit was completed, in ISO 8601 format.                                                   |
| `skipped`     | `true` if the visit was completed using existing photos instead of an in-person visit; `false` for a normal visit. |
| `images`      | Site-visit photos, when any were attached. See the note below.                                                     |

`images` entries are `{ "url": string }` — a presigned download URL valid for 1 hour from when this event was published, **not** from when you receive it. If one has expired, fetch the project again via [Get Project Details](/projects/get-project) for a fresh URL. The field is omitted when no photos were attached.

```json
{
  "topic": "project-phase.site-visit.completed",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "completedAt": "2025-04-15T14:30:00.000Z",
    "skipped": false,
    "images": [{ "url": "https://s3.amazonaws.com/site-visit/phase_abc123/a.jpg?X-Amz-Signature=..." }]
  }
}
```

### `project-phase.installation.scheduled`

Fired when an installation date is confirmed for a project phase.

| Field           | Description                                     |
| --------------- | ----------------------------------------------- |
| `confirmedDate` | Confirmed installation date in ISO 8601 format. |

```json
{
  "topic": "project-phase.installation.scheduled",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "confirmedDate": "2025-04-22T00:00:00.000Z"
  }
}
```

### `project-phase.installation.unscheduled`

> **Webhook version 2**
>
> This topic is delivered only to webhooks on version 2 or later.

Fired when a confirmed installation date is removed, for example one entered by mistake. Treat the earlier `installation.scheduled` for `previousConfirmedDate` as cancelled: the phase has no installation date until a new `installation.scheduled` arrives. Sibi does not contact the resident or the Pro about this change.

Delivered to the owner organization, and to the assigned labor organization once Sibi has released the job to it.

| Field                   | Description                                                                 |
| ----------------------- | --------------------------------------------------------------------------- |
| `previousConfirmedDate` | The installation date that was removed, in ISO 8601 format.                 |
| `unscheduledAt`         | When the date was removed, in ISO 8601 format.                              |

```json
{
  "topic": "project-phase.installation.unscheduled",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "previousConfirmedDate": "2025-04-22T00:00:00.000Z",
    "unscheduledAt": "2025-04-18T16:42:07.000Z"
  }
}
```

### `project-phase.installation.completed`

Fired when the assigned labor organization marks the installation complete.

`images` carries the installation photos when any were attached, as `{ "url": string }` entries — presigned download URLs valid for 1 hour from when this event was published, **not** from when you receive it. If one has expired, fetch the project again via [Get Project Details](/projects/get-project) for a fresh URL. The field is omitted when no photos were attached.

```json
{
  "topic": "project-phase.installation.completed",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "images": [{ "url": "https://s3.amazonaws.com/installation/phase_abc123/a.jpg?X-Amz-Signature=..." }]
  }
}
```

### `project-phase.schedule.proposed`

Fired when the assigned Pro proposes (or counter-proposes) up to three dates for a site visit or installation. Delivered to the owner organization so you can confirm the dates with the resident and relay their choice back to the Pro.

A proposal can arrive after the date was already confirmed — for example when Sibi staff reverse a confirmation the resident never agreed to. When it does, `supersededConfirmedDate` names the date that no longer holds: treat the earlier `site-visit.scheduled` or `installation.scheduled` as cancelled, and confirm one of the new dates as usual.

| Field                     | Description                                                                                                  |
| ------------------------- | ------------------------------------------------------------------------------------------------------------ |
| `scheduleType`            | `SITE_VISIT` or `INSTALLATION`.                                                                              |
| `proposedDates`           | Up to three proposed dates, each in ISO 8601 format.                                                         |
| `supersededConfirmedDate` | The previously confirmed date this proposal replaces, in ISO 8601 format. Omitted when nothing was confirmed. |

```json
{
  "topic": "project-phase.schedule.proposed",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "scheduleType": "SITE_VISIT",
    "proposedDates": ["2025-04-15T14:00:00.000Z", "2025-04-16T15:00:00.000Z", "2025-04-17T16:00:00.000Z"]
  }
}
```

### `project-phase.arrival-window.changed`

> **Webhook version 2**
>
> This topic is delivered only to webhooks on version 2 or later.

Fired when the one-hour window in which the Pro expects to arrive on the scheduled day is set, moved, or removed. Pros usually set it the day before or the day of the visit. The topic covers both site visits and installations.

New proposed dates, or any change to an already-confirmed date, remove the window, and this topic then arrives with `arrivalWindow: null`. A window set while the dates were only proposed survives the first confirmation when that confirmation lands on the window's day at the property. Whether you also receive an event for the new date depends on the topics your webhook gets and your organization's role on the project. Events can arrive out of order: for each phase and `scheduleType`, keep the payload with the latest `changedAt`.

| Field           | Description                                                                                         |
| --------------- | --------------------------------------------------------------------------------------------------- |
| `scheduleType`  | `SITE_VISIT` or `INSTALLATION`.                                                                     |
| `arrivalWindow` | `{ "start", "end" }` in ISO 8601 format. Each window is one hour. `null` when the window was removed. |
| `changedAt`     | When the change was recorded, in ISO 8601 format.                                                   |

```json
{
  "topic": "project-phase.arrival-window.changed",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "scheduleType": "INSTALLATION",
    "arrivalWindow": { "start": "2025-04-22T14:00:00.000Z", "end": "2025-04-22T15:00:00.000Z" },
    "changedAt": "2025-04-21T22:05:13.000Z"
  }
}
```

## Phase details

### `project-phase.description.updated`

> **Webhook version 2**
>
> This topic is delivered only to webhooks on version 2 or later.

Fired when a phase's description changes, whoever changed it: you through [Update a Phase](/projects/update-phase), your users in the Sibi app, or Sibi staff. Not fired when the project is created, and not fired when an update sends the description the phase already has. A description too large to carry in one event (far beyond the 10,000 characters [Update a Phase](/projects/update-phase) accepts) is not delivered; fetch the phase with [Get Project Details](/projects/get-project) if you need it.

Delivered to the owner organization, and to the assigned labor organization once Sibi has released the job to it. While a pro's assignment is held, changes are not sent to it; the pro sees the description current at release.

You receive this topic for your own edits too. If you mirror the description into your system and push your changes back, send a `sourceRef` with each update and ignore events that carry one of yours, or compare `description` with the value you hold before writing. Do not push the description back unchanged on every event.

| Field                 | Description                                                                                                            |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `description`         | The description now on the phase. An empty string when it was cleared.                                                 |
| `previousDescription` | The description before this change. An empty string when there was none.                                               |
| `sourceRef`           | The `sourceRef` you sent with the update that made this change. `null` for any change not made through Update a Phase with a `sourceRef`, and always `null` for the labor organization. |
| `changedAt`           | When the change was recorded, in ISO 8601 format. Events can arrive out of order: keep the payload with the latest `changedAt`. |

```json
{
  "topic": "project-phase.description.updated",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "description": "Replace aging HVAC unit — 3 ton, upstairs closet. Resident works from home on Fridays.",
    "previousDescription": "Replace aging HVAC unit — 3 ton, upstairs closet",
    "sourceRef": "crm-note-88812",
    "changedAt": "2025-04-21T22:05:13.000Z"
  }
}
```

## Labor assignment

Three distinct signals. `labor-organization.changed` says **who was assigned**; `labor.accepted` and `labor.declined` say **what the Pro did about it**. Assignment does not imply acceptance, so treat the phase as unstaffed until one of the latter two arrives.

A decline also emits a `labor-organization.changed` with `laborOrganizationId: null`, because the Pro really is detached. Use `labor.declined` to tell that apart from an operator reassigning the phase — the two are identical on the `labor-organization.changed` topic, and only one of them means the Pro said no.

### `project-phase.labor-organization.changed`

Fired when the labor organization assigned to a project phase changes — initial assignment, reassignment, or unassignment.

Delivered to the owner organization, the previous labor organization (if any), and the new labor organization (if any).

A [held](#held-jobs) labor organization receives this topic when Sibi releases the job, not when it is assigned, with `previousLaborOrganizationId: null`. A labor organization unassigned while its job was still held never knew it had the job, so it receives nothing.

| Field                         | Description                                                                           |
| ----------------------------- | ------------------------------------------------------------------------------------- |
| `previousLaborOrganizationId` | Previously assigned labor organization. `null` on initial assignment.                 |
| `laborOrganizationId`         | Newly assigned labor organization. `null` when unassigned (e.g. assignment declined). |

```json
{
  "topic": "project-phase.labor-organization.changed",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "previousLaborOrganizationId": "org_old123",
    "laborOrganizationId": "org_new456"
  }
}
```

### `project-phase.labor.accepted`

Fired when the assigned Pro accepts the phase assignment. This is the signal that the work is committed — until it arrives, the phase has a Pro on paper who has not agreed to do it.

Delivered to the owner organization, and to the accepting labor organization once Sibi has released the job to it ([held jobs](#held-jobs)).

| Field                 | Description                                            |
| --------------------- | ------------------------------------------------------ |
| `laborOrganizationId` | The labor organization that accepted.                  |
| `acceptedAt`          | When the acceptance was recorded, in ISO 8601 format.  |

```json
{
  "topic": "project-phase.labor.accepted",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "laborOrganizationId": "org_new456",
    "acceptedAt": "2025-04-14T18:22:05.000Z"
  }
}
```

### `project-phase.labor.declined`

Fired when the assigned Pro turns the phase down. The phase is left with no labor organization and needs another Pro assigned.

Delivered to the owner organization, and to the declining labor organization once Sibi has released the job to it ([held jobs](#held-jobs)).

| Field                 | Description                                                                                                                                                                  |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `laborOrganizationId` | The labor organization that declined.                                                                                                                                        |
| `declinedAt`          | When the decline was recorded, in ISO 8601 format.                                                                                                                           |
| `reason`              | Version 2 and later. Why the Pro declined: `NO_CAPACITY`, `OUTSIDE_SERVICE_AREA`, `NOT_OUR_TYPE_OF_WORK`, `PAY_TOO_LOW`, or `OTHER`. Absent when the Pro gave no reason. |
| `reasonOther`         | Version 2 and later. The Pro's own words. Present only when `reason` is `OTHER`.                                                                                             |

```json
{
  "topic": "project-phase.labor.declined",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "laborOrganizationId": "org_new456",
    "declinedAt": "2025-04-14T18:22:05.000Z",
    "reason": "OUTSIDE_SERVICE_AREA"
  }
}
```

## `project-phase.cancelled`

> **Webhook version 2**
>
> This topic is delivered only to webhooks on version 2 or later.

Fired when a project phase is cancelled: on its own, as part of cancelling its project, or because its project was deleted. Fired once per phase, so cancelling a project with three open phases sends three events. Completed phases send nothing. Cancelling a project leaves its invoiced phases active and sends nothing for them; deleting the project cancels them and sends the event.

Delivered to the owner organization, and to the assigned labor organization, if any, once Sibi has released the job to it ([held jobs](#held-jobs)). A held labor organization is not told about a cancellation.

| Field                 | Description                                                              |
| --------------------- | ------------------------------------------------------------------------ |
| `laborOrganizationId` | The labor organization assigned when the phase was cancelled. `null` when none was. |
| `cancelledAt`         | When the cancellation was recorded, in ISO 8601 format.                  |

```json
{
  "topic": "project-phase.cancelled",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "laborOrganizationId": "org_new456",
    "cancelledAt": "2025-04-14T18:22:05.000Z"
  }
}
```

## Material orders

> **Webhook version 2**
>
> These topics are delivered only to webhooks on version 2 or later.

These events follow the orders Sibi places for a phase's materials. Delivered to the owner organization, and to the assigned labor organization, if any, once Sibi has released the job to it ([held jobs](#held-jobs)). One order can cover several phases; each phase gets its own event. A labor organization assigned after an order was placed gets no `placed` for it, and one that is unassigned gets no `removed`; both hear about the order only through later events while they are assigned.

### `project-phase.material-order.placed`

Fired when an order is first recorded on a phase.

### `project-phase.material-order.updated`

Fired when an order on a phase changes: its status, a confirmation number, its estimated fulfillment date, an edit to the order, or a new exception such as a backorder. One change at the distributor can send several of these in quick succession.

`placed` and `updated` carry the same body: the order as it stands when the event is sent, not only the field that changed. Events can arrive out of order. For each phase and `orderId`, keep the payload with the latest `snapshotAt` and discard any that arrives with an earlier one; an `updated` whose `snapshotAt` is earlier than a `removed`'s `removedAt` for the same phase and order is stale. Two payloads sent close together can occasionally arrive with the newer state on the earlier `snapshotAt`; the next change to the order sends a fresh payload. Orders placed before these topics existed send `updated` without a `placed` first; treat an `orderId` you have not seen as new.

| Field                      | Description                                                                                                  |
| -------------------------- | ------------------------------------------------------------------------------------------------------------ |
| `laborOrganizationId`      | The labor organization assigned to the phase. `null` when none is.                                           |
| `orderId`                  | Unique identifier for the order. Matches `phases[].materialOrderIdentifiers` on [Get Project](/projects/get-project). |
| `snapshotAt`               | When Sibi took this snapshot, in ISO 8601 format in UTC with milliseconds. The order was read at or after this time, so the payload reflects the order as of this time or later. Compare it with other `snapshotAt` and `removedAt` values for the same phase and order. |
| `poNumber`                 | The purchase order number, or `null`.                                                                        |
| `status`                   | The order status, with the same values as the [order events](/events/orders), for example `Confirmed`, `In_Transit`, `Ready_For_Pickup`, `Picked_Up` or `Canceled`. |
| `confirmationNumbers`      | The distributor's confirmation numbers. Empty until the distributor confirms the order.                     |
| `fulfillmentMethod`        | `PICKUP` or `DELIVERY`.                                                                                      |
| `requestedFulfillmentDate` | The date requested at checkout.                                                                              |
| `estimatedFulfillmentDate` | The distributor's confirmed date when it has given one, otherwise the requested date.                        |
| `actualFulfillmentDate`    | When the order was delivered or picked up, in ISO 8601 format in UTC. `null` until then.                     |
| `distributor`              | The distributor company, or `null` when not yet resolved.                                                    |
| `distributionCenter`       | The branch fulfilling the order, with its address and phone, or `null` when not yet resolved.                |
| `lineItems`                | The products on the order, with quantities. Prices are not included.                                         |
| `exceptions`               | Problems the distributor reported, such as a backorder or substitution, with the same fields as the [order events](/events/orders). Empty when there are none. |

```json
{
  "topic": "project-phase.material-order.updated",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "laborOrganizationId": "org_new456",
    "orderId": "order_ghi789",
    "snapshotAt": "2025-04-15T14:05:02.118Z",
    "poNumber": "PO-10442",
    "status": "Confirmed",
    "confirmationNumbers": [{ "value": "CE-778812" }],
    "fulfillmentMethod": "PICKUP",
    "requestedFulfillmentDate": "2025-04-21",
    "estimatedFulfillmentDate": "2025-04-22",
    "actualFulfillmentDate": null,
    "distributor": { "name": "Carrier Enterprises" },
    "distributionCenter": {
      "name": "Carrier Enterprise(CE) Springfield #3934",
      "address": {
        "line1": "1200 W Sunshine St",
        "line2": null,
        "city": "Springfield",
        "stateOrProvince": "MO",
        "postalCode": "65807"
      },
      "phone": "417-555-0100"
    },
    "lineItems": [{ "name": "3 Ton Condenser", "sku": "sibi-carrier-N5H8T60AKAAA", "quantity": 1, "unitOfMeasure": "Each" }],
    "exceptions": [
      {
        "createdAt": "2025-04-15T14:03:11.000Z",
        "sku": "sibi-carrier-N5H8T60AKAAA",
        "message": "Backordered until 4/24",
        "category": null
      }
    ]
  }
}
```

### `project-phase.material-order.removed`

Fired when Sibi removes an order from a phase. The order itself is not cancelled; it no longer belongs to this phase. It can name an order you never received `placed` or `updated` for, since some orders on a phase do not send those; you can ignore it.

| Field                 | Description                                                         |
| --------------------- | ------------------------------------------------------------------- |
| `laborOrganizationId` | The labor organization assigned to the phase. `null` when none is. |
| `orderId`             | The order that was removed.                                         |
| `removedAt`           | When the removal was recorded, in ISO 8601 format in UTC with milliseconds. Compare it with `snapshotAt` as described above. |

```json
{
  "topic": "project-phase.material-order.removed",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "laborOrganizationId": "org_new456",
    "orderId": "order_ghi789",
    "removedAt": "2025-04-16T09:12:44.371Z"
  }
}
```

## `project-phase.change-request.created`

Fired when a change request is created on a project phase.

For **post-checkout** phases (`AWAITING_MATERIALS` or `IN_PROGRESS`), the phase transitions to `CHANGE_REQUEST_PENDING` until all pending change requests on that phase are resolved. **Pre-checkout** materials and ad-hoc materials change requests are an exception, where your integration receives them at all: the phase keeps its normal workflow status while external approval runs in parallel.

Delivered to the owner organization. Use `changeRequestId` to approve or reject via the [change request decision endpoints](/projects/change-request-decision).

The payload is self-contained. `added`, `removed` and `updated` say exactly what is changing, and `materials`, `laborItems` and `adHocMaterialItems` carry the phase's full approved ledger both before the change request and as it would read if you approved it — so you can render an approval screen without fetching the phase.

| Field                | Description                                                                                                                                                             |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `laborOrganizationId` | Assigned labor organization, if any. `null` when none is assigned.                                                                                                     |
| `changeRequestId`    | Unique identifier for the pending change request.                                                                                                                       |
| `type`               | Present except during a Sibi deploy skew (omitted, never guessed). What the request changes: `MATERIALS`, `LABOR`, or `AD_HOC_MATERIALS` (materials the pro sourced off-platform). A change request only ever carries one type.             |
| `approvalChannel`    | Present except during a Sibi deploy skew. `EXTERNAL` when the decision is expected from you, `INTERNAL` when Sibi decides.                                                                                        |
| `totalCents`         | What this change request is worth to you: the resulting lines priced at the rate you are charged, where an `INCREASE` contributes only the units it adds. **Not** a signed net impact — see `lineTotalCents`. Present except during a Sibi deploy skew. |
| `createdAt`          | When the change request was submitted (ISO 8601). Present except during a Sibi deploy skew. |
| `added`              | Lines for items not currently on the phase.                                                                                                                             |
| `removed`            | Lines dropping an item from the phase entirely.                                                                                                                          |
| `updated`            | Lines changing an existing item's quantity or price.                                                                                                                     |
| `materials`          | `{ before, after }` — the approved materials ledger, as `{ productId, sku, name, quantity, unitPriceCents, unitOfMeasure }`. `unitPriceCents` is the rate you are charged for that line, which for an item priced under a specific agreement is not the catalog rate. Prices are absent on ledger rows snapshotted before Sibi captured them. |
| `laborItems`         | `{ before, after }` — the phase's current labor items, as `{ laborItemId, name, priceAmount, quantity, unitOfMeasure }`. **Omitted** if Sibi could not read them. |
| `adHocMaterialItems` | `{ before, after }` — the phase's current off-platform materials, same shape keyed on `adHocMaterialItemId`. **Omitted** if Sibi could not read them. |
| `requestedMaterials` | Deprecated. Identical to `materials.after` — read `materials` instead.                                                                                                   |

Because a change request carries one type, the two ledgers it does not touch have an identical `before` and `after`. In an `after` ledger, a labor or off-platform materials row the request would **create** has a `null` id: those ids are assigned when the request is approved.

To compute what a line really changes on your invoice, use `previousQuantity`, `quantity` and `unitPriceCents` rather than `lineTotalCents`. The exact impact is `unitPriceCents × quantity` minus the line's previous priced value, and because `quantity` is always the resulting total that formula holds for every `op`. `lineTotalCents` agrees with it on `ADD`, and on `INCREASE` only while the line's rate is unchanged; it does not on `UPDATE` (where it is the resulting line's value rather than the change) nor necessarily on `REMOVE` (see below).

`type`, `approvalChannel`, `totalCents` and `createdAt` are omitted — never guessed — on the rare event published during a Sibi-side deploy skew, in which case `added`/`removed`/`updated` are empty, `materials.before` equals `materials.after`, and `laborItems`/`adHocMaterialItems` are absent entirely. Treat that combination as "diff unavailable for this change request" rather than as a change request that removes everything. An absent `laborItems` or `adHocMaterialItems` always means "unknown", never "this phase has none".

On a **removal**, `lineTotalCents` is priced when the change request is submitted, from the quantity last approved for that item. For materials those are always the same number. For labor and off-platform materials they can differ — someone may have edited the item directly since it was last approved — so a removal carries both: `previousQuantity` is what is really there and will be removed, `pricedQuantity` is what the money reflects. When they differ, the amount credited will not match the quantity removed; treat `previousQuantity` as the truth about the work and raise the discrepancy with Sibi rather than reconciling it yourself.

`sku` and `name` are resolved from the product catalog when the event is published, and appear on materials only — labor and off-platform materials are locally entered records with no catalog entry. On the rare occasion the catalog cannot resolve a product, Sibi publishes the event without those two fields rather than withholding it, so treat them as optional and fall back to `productId`.

Every entry in `added`, `removed` and `updated` is stated in absolute terms, so you never have to interpret the underlying operation:

| Field                                            | Description                                                                                                                                     |
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `type`                                           | Same values as the top-level `type`.                                                                                                            |
| `op`                                             | `ADD`, `INCREASE`, `UPDATE` or `REMOVE`. `INCREASE` means "procure this much more"; `UPDATE` means "the new total is this". Both land in `updated`. |
| `description`                                    | Product or item name as typed by whoever submitted the request. Not guaranteed to match the catalog — prefer `name` for materials.               |
| `sku`                                            | Materials only: the product's catalog SKU, the identifier shared with your own system.                                                          |
| `name`                                           | Materials only: the product's catalog title.                                                                                                     |
| `productId` / `laborItemId` / `adHocMaterialItemId` | Identifier for the item, whichever applies to `type`. Absent when adding a labor or off-platform item, whose id is assigned on approval.      |
| `previousQuantity`                               | The item's quantity before this change request. `0` for an addition. |
| `quantity`                                       | Quantity the ledger would hold once approved. `0` for a removal.                                                                                |
| `quantityDelta`                                  | `quantity` minus `previousQuantity`. |
| `pricedQuantity` | Removals only: the quantity `lineTotalCents` was priced from. Normally equals `previousQuantity`; see the note above when it does not. |
| `unitPriceCents`                                 | Per-unit rate you are charged for this line. Matches the same product's `unitPriceCents` under `materials`.                                     |
| `lineTotalCents`                                 | Priced value of this line as stored. Equals the change for `ADD`, and for `INCREASE` only while the line's rate is unchanged — an `INCREASE` that also moves the rate re-prices the whole row, so the line value covers just the added units while the change covers all of them. For `REMOVE` it is the negative of the item's **last approved** value, which is the change only when `pricedQuantity` equals `previousQuantity`. For `UPDATE` it is the priced value of the **resulting** line, not the change. |
| `unitOfMeasure`                                  | Unit the quantity is expressed in, e.g. `EA`.                                                                                                   |

```json
{
  "topic": "project-phase.change-request.created",
  "data": {
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "laborOrganizationId": "org_labor456",
    "changeRequestId": "cr_9f2c1a",
    "type": "MATERIALS",
    "approvalChannel": "EXTERNAL",
    "totalCents": -29000,
    "createdAt": "2026-08-03T16:12:04.118Z",
    "added": [
      {
        "type": "MATERIALS",
        "op": "ADD",
        "description": "3/4 in. copper line set",
        "productId": "prod_ccc",
        "sku": "LS-34-CU",
        "name": "3/4 in. copper line set",
        "unitOfMeasure": "EA",
        "unitPriceCents": 6500,
        "lineTotalCents": 6500,
        "previousQuantity": 0,
        "quantity": 1,
        "quantityDelta": 1
      }
    ],
    "removed": [
      {
        "type": "MATERIALS",
        "op": "REMOVE",
        "description": "80,000 BTU gas furnace",
        "productId": "prod_bbb",
        "sku": "FRN-80K-NG",
        "name": "80,000 BTU gas furnace",
        "unitOfMeasure": "EA",
        "unitPriceCents": 48000,
        "lineTotalCents": -48000,
        "previousQuantity": 1,
        "quantity": 0,
        "quantityDelta": -1,
        "pricedQuantity": 1
      }
    ],
    "updated": [
      {
        "type": "MATERIALS",
        "op": "INCREASE",
        "description": "2.5 ton condenser",
        "productId": "prod_aaa",
        "sku": "CND-25T",
        "name": "2.5 ton condenser",
        "unitOfMeasure": "EA",
        "unitPriceCents": 12500,
        "lineTotalCents": 12500,
        "previousQuantity": 2,
        "quantity": 3,
        "quantityDelta": 1
      }
    ],
    "materials": {
      "before": [
        { "productId": "prod_aaa", "sku": "CND-25T", "name": "2.5 ton condenser", "quantity": 2, "unitPriceCents": 12500, "unitOfMeasure": "EA" },
        { "productId": "prod_bbb", "sku": "FRN-80K-NG", "name": "80,000 BTU gas furnace", "quantity": 1, "unitPriceCents": 48000, "unitOfMeasure": "EA" }
      ],
      "after": [
        { "productId": "prod_aaa", "sku": "CND-25T", "name": "2.5 ton condenser", "quantity": 3, "unitPriceCents": 12500, "unitOfMeasure": "EA" },
        { "productId": "prod_ccc", "sku": "LS-34-CU", "name": "3/4 in. copper line set", "quantity": 1, "unitPriceCents": 6500, "unitOfMeasure": "EA" }
      ]
    },
    "laborItems": {
      "before": [
        { "laborItemId": "labor_1", "name": "HVAC install", "priceAmount": 95000, "quantity": 1, "unitOfMeasure": "EA" }
      ],
      "after": [
        { "laborItemId": "labor_1", "name": "HVAC install", "priceAmount": 95000, "quantity": 1, "unitOfMeasure": "EA" }
      ]
    },
    "adHocMaterialItems": { "before": [], "after": [] },
    "requestedMaterials": [
      { "productId": "prod_aaa", "sku": "CND-25T", "name": "2.5 ton condenser", "quantity": 3, "unitPriceCents": 12500, "unitOfMeasure": "EA" },
      { "productId": "prod_ccc", "sku": "LS-34-CU", "name": "3/4 in. copper line set", "quantity": 1, "unitPriceCents": 6500, "unitOfMeasure": "EA" }
    ]
  }
}
```

## `project-phase.comment.created`

Fired when a comment is posted to a project phase on a channel your organization can view.

| Channel        | Delivered to                            |
| -------------- | --------------------------------------- |
| `PUBLIC`       | Owner organization only                 |
| `SIBI_MANAGER` | Owner organization only                 |
| `SIBI_PRO`     | Assigned labor organization only, once Sibi has released the job to it ([held jobs](#held-jobs)) |
| `INTERNAL`     | Not delivered via firehose              |
| `PRO_INTERNAL` | Not delivered via firehose              |

`PUBLIC` is the resident-facing channel — it is the one rendered on a project share link. It does not
reach the assigned labor organization, so a pro never receives it and never posts to it.

| Field                   | Description                                                                               |
| ----------------------- | ----------------------------------------------------------------------------------------- |
| `projectPhaseCommentId` | Unique identifier for the comment.                                                        |
| `channel`               | Comment channel: `PUBLIC`, `SIBI_MANAGER`, or `SIBI_PRO` (the `INTERNAL` and `PRO_INTERNAL` channels are never delivered). |
| `body`                  | Comment text, when present.                                                               |
| `images`                | Attached images, when present. Each entry is `{ "url": string }` — a presigned download URL valid for 1 hour from when this event was published (not from when you receive it). If it's expired, fetch the comment again via [Get Project Details](/projects/get-project) — its `images` field returns a fresh URL. |
| `authorType`            | `USER` for authenticated Sibi users, or `ANONYMOUS` for share-link comments.              |
| `createdBy`             | Sibi user id of the author. Present when `authorType` is `USER`.                          |
| `authorDisplayName`     | Display name typed by an anonymous commenter. Present when `authorType` is `ANONYMOUS`.   |
| `authorName`            | Version 2 and later. The author's name. When `authorType` is `USER`, the Sibi user's full name — use it to tell Sibi team members apart. When `ANONYMOUS`, the unverified name the commenter typed (same as `authorDisplayName`); it does not identify a Sibi user. Absent when the name could not be resolved; fall back to `createdBy`. |
| `parentCommentId`       | When set, this comment is a reply in the same phase and channel.                          |
| `sourceRef`             | External identifier from the integration caller (e.g. your REST integration). Present when supplied. |
| `createdAt`             | Timestamp when the comment was created, in ISO 8601 format.                               |

```json
{
  "topic": "project-phase.comment.created",
  "data": {
    "projectPhaseCommentId": "ppc_abc123",
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "channel": "PUBLIC",
    "body": "Resident confirmed the install window works.",
    "images": [{ "url": "https://s3.amazonaws.com/..." }],
    "authorType": "USER",
    "createdBy": "user_123",
    "authorName": "Stephen Smith",
    "createdAt": "2025-04-15T14:30:00.000Z"
  }
}
```

## `project-phase.comment.updated`

Fired when a comment is edited by its author. Delivered to the same organizations as `project-phase.comment.created` for that comment's channel (see the table above).

| Field                   | Description                                                                               |
| ----------------------- | ----------------------------------------------------------------------------------------- |
| `projectPhaseCommentId` | Unique identifier for the comment.                                                        |
| `channel`               | Comment channel: `PUBLIC`, `SIBI_MANAGER`, or `SIBI_PRO` (the `INTERNAL` and `PRO_INTERNAL` channels are never delivered). |
| `body`                  | Updated comment text.                                                                     |
| `images`                | Attached images, when present. Each entry is `{ "url": string }` — a presigned download URL valid for 1 hour from when this event was published (not from when you receive it). If it's expired, fetch the comment again via [Get Project Details](/projects/get-project) — its `images` field returns a fresh URL. |
| `authorType`            | `USER` for authenticated Sibi users, or `ANONYMOUS` for share-link comments.              |
| `createdBy`             | Sibi user id of the author. Present when `authorType` is `USER`.                          |
| `authorDisplayName`     | Display name typed by an anonymous commenter. Present when `authorType` is `ANONYMOUS`.   |
| `authorName`            | Version 2 and later. The author's name. When `authorType` is `USER`, the Sibi user's full name — use it to tell Sibi team members apart. When `ANONYMOUS`, the unverified name the commenter typed (same as `authorDisplayName`); it does not identify a Sibi user. Absent when the name could not be resolved; fall back to `createdBy`. |
| `parentCommentId`       | When set, this comment is a reply in the same phase and channel.                          |
| `sourceRef`             | External identifier from the integration caller (e.g. your REST integration). Present when supplied. |
| `updatedAt`             | Timestamp when the comment was edited, in ISO 8601 format.                                |

```json
{
  "topic": "project-phase.comment.updated",
  "data": {
    "projectPhaseCommentId": "ppc_abc123",
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "channel": "PUBLIC",
    "body": "Correction: the install window is 6/16, not 6/15.",
    "authorType": "USER",
    "createdBy": "user_123",
    "authorName": "Stephen Smith",
    "updatedAt": "2025-04-15T14:35:00.000Z"
  }
}
```

## `project-phase.comment.deleted`

Fired when a comment is deleted by its author. Delivered to the same organizations as `project-phase.comment.created` for that comment's channel (see the table above). The `body` and any attached images are not included — treat this as a signal to remove the comment from your own records.

| Field                   | Description                                                                               |
| ----------------------- | ----------------------------------------------------------------------------------------- |
| `projectPhaseCommentId` | Unique identifier for the deleted comment.                                                |
| `channel`               | Comment channel: `PUBLIC`, `SIBI_MANAGER`, or `SIBI_PRO` (the `INTERNAL` and `PRO_INTERNAL` channels are never delivered). |
| `authorType`            | `USER` for authenticated Sibi users, or `ANONYMOUS` for share-link comments.              |
| `createdBy`             | Sibi user id of the author. Present when `authorType` is `USER`.                          |
| `authorDisplayName`     | Display name typed by an anonymous commenter. Present when `authorType` is `ANONYMOUS`.   |
| `authorName`            | Version 2 and later. The author's name. When `authorType` is `USER`, the Sibi user's full name — use it to tell Sibi team members apart. When `ANONYMOUS`, the unverified name the commenter typed (same as `authorDisplayName`); it does not identify a Sibi user. Absent when the name could not be resolved; fall back to `createdBy`. |
| `sourceRef`             | External identifier from the integration caller (e.g. your REST integration). Present when supplied. |

```json
{
  "topic": "project-phase.comment.deleted",
  "data": {
    "projectPhaseCommentId": "ppc_abc123",
    "projectPhaseId": "phase_abc123",
    "projectId": "proj_xyz789",
    "propertyId": "prop_def456",
    "channel": "PUBLIC",
    "authorType": "USER",
    "createdBy": "user_123",
    "authorName": "Stephen Smith"
  }
}
```
