curl --request GET \
--url https://api.hubapi.com/companies/v2/companies/paged{
"companies": [
{
"portalId": 62515,
"additionalDomains": [],
"properties": {
"website": {
"sourceId": null,
"timestamp": 1457513066540,
"versions": [
{
"timestamp": 1457513066540,
"sourceVid": [],
"name": "website",
"value": "example.com",
"source": "COMPANIES"
}
],
"value": "example.com",
"source": "COMPANIES"
},
"name": {
"sourceId": "name",
"timestamp": 1464484587592,
"versions": [
{
"name": "name",
"sourceId": "name",
"timestamp": 1464484587592,
"value": "Example Company",
"source": "BIDEN",
"sourceVid": []
}
],
"value": "Example Company",
"source": "BIDEN"
}
},
"isDeleted": false,
"companyId": 115200636
},
{
"portalId": 62515,
"additionalDomains": [],
"properties": {
"website": {
"sourceId": null,
"timestamp": 1457535205549,
"versions": [
{
"timestamp": 1457535205549,
"sourceVid": [],
"name": "website",
"value": "test.com",
"source": "COMPANIES"
}
],
"value": "test.com",
"source": "COMPANIES"
},
"name": {
"sourceId": "name",
"timestamp": 1468832771769,
"versions": [
{
"name": "name",
"sourceId": "name",
"timestamp": 1468832771769,
"value": "Test Company",
"source": "BIDEN",
"sourceVid": []
}
],
"value": "Test Company",
"source": "BIDEN"
}
},
"isDeleted": false,
"companyId": 115279791
}
],
"has-more": true,
"offset": 115279791
}Retrieve all companies in a HubSpot account. This endpoint can be useful when needing to sync company data from HubSpot. For example, if you install an app that integrates HubSpot with an Enterprise Resource Planning (ERP) app, that app may want to get all the company records stored in the CRM. It could then match them to customer records stored in the ERP and use webhooks to get incremental updates.
curl --request GET \
--url https://api.hubapi.com/companies/v2/companies/paged{
"companies": [
{
"portalId": 62515,
"additionalDomains": [],
"properties": {
"website": {
"sourceId": null,
"timestamp": 1457513066540,
"versions": [
{
"timestamp": 1457513066540,
"sourceVid": [],
"name": "website",
"value": "example.com",
"source": "COMPANIES"
}
],
"value": "example.com",
"source": "COMPANIES"
},
"name": {
"sourceId": "name",
"timestamp": 1464484587592,
"versions": [
{
"name": "name",
"sourceId": "name",
"timestamp": 1464484587592,
"value": "Example Company",
"source": "BIDEN",
"sourceVid": []
}
],
"value": "Example Company",
"source": "BIDEN"
}
},
"isDeleted": false,
"companyId": 115200636
},
{
"portalId": 62515,
"additionalDomains": [],
"properties": {
"website": {
"sourceId": null,
"timestamp": 1457535205549,
"versions": [
{
"timestamp": 1457535205549,
"sourceVid": [],
"name": "website",
"value": "test.com",
"source": "COMPANIES"
}
],
"value": "test.com",
"source": "COMPANIES"
},
"name": {
"sourceId": "name",
"timestamp": 1468832771769,
"versions": [
{
"name": "name",
"sourceId": "name",
"timestamp": 1468832771769,
"value": "Test Company",
"source": "BIDEN",
"sourceVid": []
}
],
"value": "Test Company",
"source": "BIDEN"
}
},
"isDeleted": false,
"companyId": 115279791
}
],
"has-more": true,
"offset": 115279791
}Scope requirements