provider Companies GET
/companies/{company_id}/segments @utdk/intercom
/companies/{company_id}/segments List attached segments for companies
You can fetch a list of all segments that belong to a company.
- Intercom-Version header
- enum: 1.0, 1.1, 1.2, 1.3…
- company_id path required
- The unique identifier for the company which is given by Intercom
- string
Try it
Authentication
Configure credentials for Intercom API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import intercom from '@utdk/intercom';
await intercom.listattachedsegmentsforcompanies({
"Intercom-Version": "2.14"
})