Update a company

Update a company — only the fields you send change. Send null (or an empty string) to clear an optional field.

PATCH https://api.centerfy.ai/webhooks/inbound/companies/:id

Headers

HeaderRequiredValueDescription
x-api-keyYesyour sub-account API key (cfy_…)Authenticates the request; or use Authorization: Bearer <key>.

Path parameters

NameTypeRequiredDescription
idstring (uuid)YesThe company id.

Body parameters

NameTypeRequiredDefaultDescription
namestringNo—New company name (max 500 characters); cannot be empty.
websitestring | nullNo—Website URL.
industrystring | nullNo—Industry label.
phonestring | nullNo—Phone number (stored as given).
emailstring | nullNo—Email address.
addressstring | nullNo—Postal address.
notesstring | nullNo—Free-text notes.

Request body

{
  "industry": "Software",
  "notes": null
}

Example

curl -X PATCH "https://api.centerfy.ai/webhooks/inbound/companies/{id}" \
  -H "x-api-key: $CENTERFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "industry": "Software",
  "notes": null
}'
import { CenterfyClient } from "@centerfy/sdk";

const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });

const result = await centerfy.companies.update("<companyId>", {
  "industry": "Software",
  "notes": null
});
console.log(result);
centerfy companies update <companyId> '{"industry":"Software","notes":null}'

MCP tool: centerfy_companies_update (see MCP server)

Response

{
  "status": "success",
  "company": {
    "id": "5a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "name": "Acme Inc",
    "website": "https://acme.example.com",
    "industry": "Software",
    "phone": "+14155550123",
    "email": "[email protected]",
    "address": "1 Example Way, San Francisco, CA",
    "notes": null,
    "created_at": "2026-10-01T10:00:00.000Z",
    "updated_at": "2026-10-04T08:15:00.000Z"
  }
}

Errors

  • 400 — if the id is invalid, name is empty or no updatable field is sent; 404 if the company is not in this sub-account.

Notes

Send at least one field. The response does not include contact_count.

© 2026 Centerfy AI. All rights reserved.