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

# Update a company

`PUT /companies/{company}`

## Request

- Base URL: `https://there-there.app/api`
- URL: `https://there-there.app/api/companies/{company}`
- Auth: HTTP bearer

## Path parameters

- `company` string, required

## Headers

- `X-Workspace-Id` integer

## Request body

- object
  - `name` string
  - `domain` string, nullable: Changing the domain does not move contacts that already exist.
  - `phone` string, nullable
  - `notes` string, nullable

## Response `200`

Updated company

- object
  - `data` Company
    - `id` integer
    - `ulid` string
    - `name` string
    - `domain` string, nullable
    - `phone` string, nullable
    - `notes` string, nullable
    - `contact_count` integer, nullable
    - `ticket_count` integer, nullable

---

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