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

# Update a company

`PUT /companies/{company_id}`

You can update a single company using the Intercom provisioned `id`.

{% admonition type="warning" name="Using `company_id`" %}
  When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company.
{% /admonition %}

## Path parameters

- `company_id` string, required

## Headers

- `Intercom-Version` '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '2.0' | '2.1' | '2.2' | '2.3' | '2.4' | '2.5' | '2.6' | '2.7' | '2.8' | '2.9' | '2.10' | '2.11' | '2.12' | '2.13' | '2.14' — Intercom API version.</br>By default, it's equal to the version set in the app package.

## Request body

- UpdateCompanyRequest, nullable — You can update a Company
  - `name` string — The name of the Company
  - `plan` string — The name of the plan you have associated with the company.
  - `size` integer — The number of employees in this company.
  - `website` string — The URL for this company's website. Please note that the value specified here is not validated. Accepts any string.
  - `industry` string — The industry that this company operates in.
  - `custom_attributes` object — A hash of key/value pairs containing any other data about the company you want Intercom to store.
  - `monthly_spend` integer — How much revenue the company generates for your business. Note that this will truncate floats. i.e. it only allow for whole integers, 155.98 will be truncated to 155. Note that this has an upper limit of 2**31-1 or 2147483647..

## Response `200`

Successful

- Company — Companies allow you to represent organizations using your product. Each company will have its own description and be associated with contacts. You can fetch, create, update and list companies.
  - `type` 'company' — Value is `company`
  - `id` string — The Intercom defined id representing the company.
  - `name` string — The name of the company.
  - `app_id` string — The Intercom defined code of the workspace the company is associated to.
  - `plan` object
    - `type` string — Value is always "plan"
    - `id` string — The id of the plan
    - `name` string — The name of the plan
  - `company_id` string — The company id you have defined for the company.
  - `remote_created_at` integer — The time the company was created by you.
  - `created_at` integer — The time the company was added in Intercom.
  - `updated_at` integer — The last time the company was updated.
  - `last_request_at` integer — The time the company last recorded making a request.
  - `size` integer — The number of employees in the company.
  - `website` string — The URL for the company website.
  - `industry` string — The industry that the company operates in.
  - `monthly_spend` integer — How much revenue the company generates for your business.
  - `session_count` integer — How many sessions the company has recorded.
  - `user_count` integer — The number of users in the company.
  - `custom_attributes` object — The custom attributes you have set on the company.
  - `tags` object — The list of tags associated with the company
    - `type` 'tag.list' — The type of the object
    - `tags` TagBasic[]
      - `type` string — value is "tag"
      - `id` string — The id of the tag
      - `name` string — The name of the tag
  - `segments` object — The list of segments associated with the company
    - `type` 'segment.list' — The type of the object
    - `segments` Segment[]
      - `type` 'segment' — The type of object.
      - `id` string — The unique identifier representing the segment.
      - `name` string — The name of the segment.
      - `created_at` integer — The time the segment was created.
      - `updated_at` integer — The time the segment was updated.
      - `person_type` 'contact' | 'user' — Type of the contact: contact (lead) or user.
      - `count` integer, nullable — The number of items in the user segment. It's returned when `include_count=true` is included in the request.

## Other responses

- `401` — Unauthorized
- `404` — Company Not Found

---

[API](https://skmtc.net/intercom/apis/intercom-api.md) · [All operations](https://skmtc.net/intercom/apis/intercom-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/intercom/intercom-api/versions/9517e80f2642/schema)
