PedibeeDocs

Update a company

Change a company's details. Send only what changes.

PATCH/api/v1/leads/:id
Scopeleads:write

Changes only the fields you send. To add people to a company, create them with its leadId (create a contact) or set leadId on existing contacts (update a contact).

Path parameters

Prop

Type

Body

Send a JSON object.

Prop

Type

Example request

curl -X PATCH "https://api.pedibee.com/api/v1/leads/66f1c2a9e4b0a1b2c3d4e001" \
  -H "Authorization: Bearer $PEDIBEE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tier": "WARM",
    "lifecycleStage": "CONTACTED",
    "notes": "Met at SaaStr"
  }'

Response

The updated company.

200 OK
{
  "id": "66f1c2a9e4b0a1b2c3d4e001",
  "companyName": "Northwind",
  "domain": "northwind.io",
  "industry": "Software",
  "tier": "WARM",
  "lifecycleStage": "CONTACTED",
  "notes": "Met at SaaStr",
  "source": "MANUAL",
  "createdAt": "2026-10-05T09:30:00.000Z",
  "updatedAt": "2026-10-05T09:30:00.000Z"
}

Errors

Every error is { "error": "…" } with a message you can show. See Errors and limits.

StatusWhen
400A value is invalid, or the body has nothing to change.
403The key doesn’t have leads:write, or its creator’s role no longer allows it.
404No company with this id in your workspace.
409Another company already has this domain.
401The API key is missing, invalid, revoked or expired.
429Too many requests. Wait for the seconds in Retry-After.

On this page