Update a company
PUT
/api/v1/companies/{id}Changes the fields you send and keeps the others.
A missing or null field stays as it is: send only what changed.
The API key needs the scopeEdit companies
companies.editParameters
| Name | In | Description |
|---|---|---|
idrequiredstring (uuid) | path | Company id. |
Request body
| Field | Description |
|---|---|
namestring | The company's trade name. Required on creation. |
legalNamestring | Legal name. |
taxIdstring | CNPJ (Brazilian company tax id), digits only. |
emailstring | The company's main email. |
phoneNumberstring | Phone with country and area code, digits only. |
websitestring | The company's website. |
addressStreetstring | Street. |
addressNumberstring | Street number. |
addressComplementstring | Address line 2. |
addressDistrictstring | Neighborhood. |
addressCitystring | City. |
addressStatestring | State, as its abbreviation. |
addressZipstring | Postal code, digits only. |
addressCountrystring | Country. |
ownerIdstring (uuid) | User who owns the account. |
employeeCountinteger | Number of employees. |
responsibleContactIdstring (uuid) | Contact who answers for the company: the id of an existing contact. |
Responses
200The company after the change.
application/json
{
"id": "d49d40b3-dfd6-4b52-af6d-a90a16830193",
"businessId": "2ea7ad0d-8e13-4008-9fd8-7c92fe8677f2",
"name": "Lima Consultoria",
"legalName": "Lima Consultoria Empresarial Ltda.",
"taxId": "12345678000190",
"email": "[email protected]",
"phoneNumber": "551133334444",
"website": "https://limaconsultoria.com.br",
"domain": "limaconsultoria.com.br",
"profileImageUrl": null,
"addressStreet": null,
"addressNumber": null,
"addressComplement": null,
"addressDistrict": null,
"addressCity": "São Paulo",
"addressState": "SP",
"addressZip": null,
"addressCountry": "BR",
"tags": null,
"customFields": null,
"ownerId": "5a3dc17c-3dc5-4770-bb35-0bff55f3151b",
"employeeCount": 45,
"averageRevenue12m": null,
"responsibleContactId": null,
"createdAt": "2026-11-23T11:45:17.88691Z",
"updatedAt": null
}400Invalid request: a body that is not JSON, a missing required field or a value in the wrong format.
application/json
{
"error": "validation_failed",
"message": "O campo name é obrigatório."
}401Missing or invalid credentials. The response is the same for a key that does not exist and for a wrong secret; without the X-API-KEY header, it comes with no body.
application/json
{
"error": "unauthorized",
"message": "Credenciais de API inválidas."
}403The key authenticated, but it lacks the scope the route requires, or the plan does not include the feature.
application/json
{
"error": "forbidden",
"message": "A chave de API não tem acesso a esta rota: falta o escopo exigido, ou a rota não aceita chave de API."
}404The record does not exist in this company.
application/json
{
"error": "not_found",
"message": "Registro não encontrado."
}429The requests-per-minute limit was reached. Wait for the time given in the Retry-After header.
application/json
{
"error": "too_many_requests",
"message": "Muitas requisições com esta chave de API. Aguarde o fim da janela e tente novamente."
}