---
title: "Update company"
method: PATCH
path: "/companies/{companyId}"
tags: ["Companies"]
---

# Update company

`PATCH /companies/{companyId}`

## Request

- Base URL: `https://api.modem.dev/v1`
- URL: `https://api.modem.dev/v1/companies/{companyId}`
- Auth: HTTP bearer

Update a single company (name, logoUrl, isVip, primaryDomain, connections). At least one field must be provided; omitted fields are left unchanged and null clears a nullable field.

## Path parameters

- `companyId` string, required

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `connections` object
    - `email` string, nullable
    - `github` string, nullable
    - `linkedin` string, nullable
    - `phone` string, nullable
    - `twitter` string, nullable
  - `isVip` boolean
  - `logoUrl` string, uri, nullable
  - `name` string
  - `primaryDomain` string, nullable

## Response `200`

OK

- object
  - `connections` object, required
    - `email` string, nullable, required
    - `github` string, nullable, required
    - `linkedin` string, nullable, required
    - `phone` string, nullable, required
    - `twitter` string, nullable, required
  - `id` string, required
  - `isVip` boolean, required
  - `logoUrl` string, uri, nullable, required: Company logo image URL.
  - `name` string, required: Company name.
  - `primaryDomain` string, nullable, required

## Other responses

- `400`: Invalid request (validation failed).
- `401`: Missing or invalid API key.
- `403`: The API key does not have access to this resource.
- `404`: The requested resource was not found.
- `409`: The request conflicts with an existing resource or idempotency operation.
- `429`: Rate limit exceeded.
- `500`: Internal server error.

---

[API](https://skmtc.dev/modem/apis/modem-api.md) · [All operations](https://skmtc.dev/modem/apis/modem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modem/apis/modem-api/revisions/f889038a1048?raw)
