Update a company
Change a company's details. Send only what changes.
PATCH
/api/v1/leads/:idScope
leads:writeChanges 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.
{
"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.
| Status | When |
|---|---|
400 | A value is invalid, or the body has nothing to change. |
403 | The key doesn’t have leads:write, or its creator’s role no longer allows it. |
404 | No company with this id in your workspace. |
409 | Another company already has this domain. |
401 | The API key is missing, invalid, revoked or expired. |
429 | Too many requests. Wait for the seconds in Retry-After. |
