You can detach a company from a single contact.
Requires the read_write_users or write_users_companies OAuth scope.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
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.
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:2.17
- The production API serverhttps://api.intercom.io/contacts/{contact_id}/companies/{company_id}
- The european API serverhttps://api.eu.intercom.io/contacts/{contact_id}/companies/{company_id}
- The australian API serverhttps://api.au.intercom.io/contacts/{contact_id}/companies/{company_id}
curl -i -X DELETE \
https://api.intercom.io/contacts/58a430d35458202d41b1e65b/companies/58a430d35458202d41b1e65b \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.17'Successful
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.
The Intercom defined code of the workspace the company is associated to.
Example:"ecahpwf5"
The company id you have defined for the company. Returned HTML-escaped, for example & as &.
Example:"6"
The custom attributes you have set on the company.
Example:
{ "paid_subscriber": true, "monthly_spend": 155.5, "team_mates": 9 }
Always returned empty. Fetch a company's segments with the list attached segments endpoint.
Response
{ "type": "company", "company_id": "1", "id": "6762f0a01bb69f9f2193bb44", "app_id": "this_is_an_id205_that_should_be_at_least_", "name": "company8", "remote_created_at": 1734537376, "created_at": 1734537376, "updated_at": 1734537377, "monthly_spend": 0, "session_count": 0, "user_count": 0, "tags": { "type": "tag.list", "tags": [] }, "segments": { "type": "segment.list", "segments": [] }, "plan": {}, "custom_attributes": {}, "notes": { "type": "note.list", "data": [], "url": "/companies/6762f0a01bb69f9f2193bb44/notes", "total_count": 0, "has_more": false } }