List all companies
You can list companies. The company list is sorted by the last_request_at field and by default is ordered descending, most recently requested first.
Note that the API does not include companies who have no associated users in list responses.
When using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the Scroll API. {% admonition type="warning" name="Pagination" %} You can use pagination to limit the number of results returned. The default is 20 results per page. See the pagination section for more details on how to use the starting_after param. {% /admonition %}
Query parameters
The page of results to fetch. Defaults to first page
How many results to return per page. Defaults to 15
asc or desc. Return the companies in ascending or descending order. Defaults to desc
Headers
Intercom API version.</br>By default, it's equal to the version set in the app package.
Response
Successful
Example response
{
"type": "list",
"pages": {
"type": "pages",
"page": 1,
"next": {
"per_page": 2,
"starting_after": "your-cursor-from-response"
},
"per_page": 2,
"total_pages": 13
},
"total_count": 100,
"data": [
{
"type": "company",
"id": "531ee472cce572a6ec000006",
"name": "Blue Sun",
"app_id": "ecahpwf5",
"plan": {
"type": "plan",
"id": "269315",
"name": "Pro"
},
"company_id": "6",
"remote_created_at": 1663597223,
"created_at": 1663597223,
"updated_at": 1663597223,
"last_request_at": 1663597223,
"size": 100,
"website": "https://www.intercom.com",
"industry": "Software",
"monthly_spend": 100,
"session_count": 100,
"user_count": 100,
"custom_attributes": {
"paid_subscriber": true,
"monthly_spend": 155.5,
"team_mates": 9
},
"tags": {
"tags": [
{
"type": "tag",
"id": "123456",
"name": "Test tag"
}
]
},
"segments": {
"segments": [
{
"type": "segment",
"id": "56203d253cba154d39010062",
"name": "Active",
"created_at": 1394621988,
"updated_at": 1394622004,
"person_type": "contact",
"count": 3
}
]
}
}
]
}