- Update a company
You can update a single company using the Intercom provisioned id.
Every custom attribute you send must already exist in your workspace. Sending one that doesn't returns a 400 error.
You can also send this request with PATCH; it behaves the same as PUT.
When updating a company it is not possible to update company_id. This can only be set once upon creation of the company.
Requires the write_users_companies OAuth scope.
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
The URL for this company's website. Please note that the value specified here is not validated. Accepts any string.
Values for custom attributes that already exist in your workspace. Each value can be a string, integer, number, boolean or null. Arrays and objects aren't accepted.
{ "paid_subscriber": true, "monthly_spend": 155.5, "team_mates": 9 }
- The production API serverhttps://api.intercom.io/companies/{company_id}
- The european API serverhttps://api.eu.intercom.io/companies/{company_id}
- The australian API serverhttps://api.au.intercom.io/companies/{company_id}
- Successful
- Bad Request
curl -i -X PUT \
https://api.intercom.io/companies/5f4d3c1c-7b1b-4d7d-a97e-6095715c6632 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: 2.17' \
-d '{
"name": "my company",
"website": "http://www.mycompany.com/"
}'Successful
The Intercom defined code of the workspace the company is associated to.
The company id you have defined for the company. Returned HTML-escaped, for example & as &.
The custom attributes you have set on the company.
{ "paid_subscriber": true, "monthly_spend": 155.5, "team_mates": 9 }
Always returned empty. Fetch a company's segments with the list attached segments endpoint.
{ "type": "company", "company_id": "1", "id": "6762f0841bb69f9f2193baff", "app_id": "this_is_an_id165_that_should_be_at_least_", "name": "company2", "remote_created_at": 1734537348, "created_at": 1734537348, "updated_at": 1734537348, "monthly_spend": 0, "session_count": 0, "user_count": 1, "tags": { "type": "tag.list", "tags": [] }, "segments": { "type": "segment.list", "segments": [] }, "plan": {}, "custom_attributes": {}, "notes": { "type": "note.list", "data": [], "url": "/companies/6762f0841bb69f9f2193baff/notes", "total_count": 0, "has_more": false } }