Projects

Update a project

Changed on

Rename a project (matter or case), change its linked accounts and contacts, or set its custom field values. Omitted fields are left unchanged.

patch/projects/{id}

Request

  • Base URL
    https://api.parley.so/v1
  • URL
    https://api.parley.so/v1/projects/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

The project ID.

Request body

namestring

Project name.

fieldsobject

Custom field values to set on the project, keyed by field name or ID. A value replaces the current one, null clears it, and fields you don't mention are left alone. Each value must match its field's type: a string for text, long_text, email, url, single_select (one of the field's options), and user (the id of an active user in the organization); a number; true or false; an ISO 8601 date-time or YYYY-MM-DD date; a list of strings for collection ([] clears it); or { streetAddress, cityTown, state, country } for address. At most 50 fields.

Response

OK

idstring required

The project ID.

namestring required

Project name.

createdAtstring date-time required

When the project was created.

updatedAtstring date-time required

When the project was last updated, including changes to its linked accounts and contacts. Field value changes do not change it.

fieldsobject required

Custom field values, keyed by field name, with a key for every field defined for projects (null when unset). The value's shape follows the field's type.

Example response

{
  "id": "cmf2x8k0q0001abcd",
  "name": "Acme Corp H-1B petition",
  "access": {
    "type": "everyone"
  },
  "accounts": [
    {
      "type": "account",
      "id": "cmf2x7r1p0000abcd",
      "name": "Acme Corp"
    }
  ],
  "contacts": [
    {
      "type": "contact",
      "id": "cmf2x7z3e0002abcd",
      "name": "Ada Lovelace"
    }
  ],
  "createdAt": "2026-10-01T15:04:05.000Z",
  "updatedAt": "2026-10-02T09:30:00.000Z",
  "fields": {
    "Matter Number": "IMM-2041",
    "Target Date": null
  }
}

Changes