---
title: Update a Phase
description: "Change a project phase's description after creation"
sidebar:
  hidden: true
ai:
  exclude: true
seo:
  noindex: true
---

Replaces the description of a project phase. This is the same field that `description` sets on [Create Project](/projects/create-project), so use it to correct or extend what you sent at creation.

**Endpoint:** `PATCH https://api.sibipro.com/projects/v1/phases/{projectPhaseId}`

**Authentication:** Bearer token with the `write:phases` scope (`Authorization: Bearer {accessToken}`)

### Path parameters

#### `projectPhaseId`

`string` — **Required.** ID of the phase to update, returned from [Create Project](/projects/create-project).

### Request body

```json
{
  "description": "Replace aging HVAC unit — 3 ton, upstairs closet. Resident works from home on Fridays.",
  "sourceRef": "crm-note-88812"
}
```

#### `description`

`string` — **Required.** The new description, up to 10,000 characters. It replaces the existing description; send an empty string to clear it.

As on create, the description is shown to the assigned pro as the **Scope of work** in the job's assignment message, and on the project's share page to anyone holding its link, so keep lock codes and other access details out of it. The pro sees a change on the job in Sibi straight away, but no email or text is sent: changing the description after the assignment message has gone out does not send the message again.

#### `sourceRef`

`string | undefined` — Optional identifier for this edit in your own system, 1 to 256 characters. It is returned in the [`project-phase.description.updated`](/events/projects) webhook this update causes, so you can recognise your own changes and avoid writing them back.

No other field is accepted. A body with any other field is refused with `400` and nothing is changed.

### Response `200`

```json
{
  "projectPhaseId": "phase_xyz",
  "projectId": "proj_abc",
  "description": "Replace aging HVAC unit — 3 ton, upstairs closet. Resident works from home on Fridays."
}
```

`description` is `null` when the phase has no description, including after you clear it with an empty string.

Sending the description the phase already has changes nothing and returns the same response, so a retry is safe.

### Webhooks

A change emits [`project-phase.description.updated`](/events/projects) to the owner organization, and to the assigned labor organization once Sibi has released the job to it. Sending the description the phase already has emits nothing.

### Error responses

| HTTP | `code`               | When                                                                       |
| ---- | -------------------- | -------------------------------------------------------------------------- |
| 400  | `VALIDATION_ERROR`   | `description` missing or over 10,000 characters, `sourceRef` empty or over 256 characters, or an unknown field |
| 401  | `UNAUTHORIZED`       | Missing or invalid bearer token                                            |
| 403  | `INSUFFICIENT_SCOPE` | The token does not carry `write:phases`                                    |
| 403  | `FORBIDDEN`          | The caller may not edit this phase, including a `projectPhaseId` that does not exist |
| 404  | `NOT_FOUND`          | The phase has been cancelled                                               |
| 500  | `INTERNAL_ERROR`     | Unexpected server error                                                    |
| 503  | `AUTH_UNAVAILABLE`   | The token could not be checked; retry shortly                              |
