curl --request GET \
--url https://api.hubapi.com/companies/v2/companies/paged
"\nExample GET URL:\nhttps://api.hubapi.com/companies/v2/companies/paged?properties=name&properties=website&limit=2\n\nExample Response:\n{\n \"companies\": [\n {\n \"portalId\": 62515,\n \"additionalDomains\": [\n \n ],\n \"properties\": {\n \"website\": {\n \"sourceId\": null,\n \"timestamp\": 1457513066540,\n \"versions\": [\n {\n \"timestamp\": 1457513066540,\n \"sourceVid\": [\n \n ],\n \"name\": \"website\",\n \"value\": \"example.com\",\n \"source\": \"COMPANIES\"\n }\n ],\n \"value\": \"example.com\",\n \"source\": \"COMPANIES\"\n },\n \"name\": {\n \"sourceId\": \"name\",\n \"timestamp\": 1464484587592,\n \"versions\": [\n {\n \"name\": \"name\",\n \"sourceId\": \"name\",\n \"timestamp\": 1464484587592,\n \"value\": \"Example Company\",\n \"source\": \"BIDEN\",\n \"sourceVid\": [\n \n ]\n }\n ],\n \"value\": \"Example Company\",\n \"source\": \"BIDEN\"\n }\n },\n \"isDeleted\": false,\n \"companyId\": 115200636\n },\n {\n \"portalId\": 62515,\n \"additionalDomains\": [\n \n ],\n \"properties\": {\n \"website\": {\n \"sourceId\": null,\n \"timestamp\": 1457535205549,\n \"versions\": [\n {\n \"timestamp\": 1457535205549,\n \"sourceVid\": [\n \n ],\n \"name\": \"website\",\n \"value\": \"test.com\",\n \"source\": \"COMPANIES\"\n }\n ],\n \"value\": \"test.com\",\n \"source\": \"COMPANIES\"\n },\n \"name\": {\n \"sourceId\": \"name\",\n \"timestamp\": 1468832771769,\n \"versions\": [\n {\n \"name\": \"name\",\n \"sourceId\": \"name\",\n \"timestamp\": 1468832771769,\n \"value\": \"Test Company\",\n \"source\": \"BIDEN\",\n \"sourceVid\": [\n \n ]\n }\n ],\n \"value\": \"Test Company\",\n \"source\": \"BIDEN\"\n }\n },\n \"isDeleted\": false,\n \"companyId\": 115279791\n }\n ],\n \"has-more\": true,\n \"offset\": 115279791\n}"
Returns a list of all companies sorted by the date the companies were created. This is particularly useful for ongoing syncs with HubSpot in which changes to companies must be captured in another system. Note: This endpoint will only return records created in the last 30 days, or the 10k most recently created records. If you need to get all of your companies, please use this endpoint.
curl --request GET \
--url https://api.hubapi.com/companies/v2/companies/paged
"\nExample GET URL:\nhttps://api.hubapi.com/companies/v2/companies/paged?properties=name&properties=website&limit=2\n\nExample Response:\n{\n \"companies\": [\n {\n \"portalId\": 62515,\n \"additionalDomains\": [\n \n ],\n \"properties\": {\n \"website\": {\n \"sourceId\": null,\n \"timestamp\": 1457513066540,\n \"versions\": [\n {\n \"timestamp\": 1457513066540,\n \"sourceVid\": [\n \n ],\n \"name\": \"website\",\n \"value\": \"example.com\",\n \"source\": \"COMPANIES\"\n }\n ],\n \"value\": \"example.com\",\n \"source\": \"COMPANIES\"\n },\n \"name\": {\n \"sourceId\": \"name\",\n \"timestamp\": 1464484587592,\n \"versions\": [\n {\n \"name\": \"name\",\n \"sourceId\": \"name\",\n \"timestamp\": 1464484587592,\n \"value\": \"Example Company\",\n \"source\": \"BIDEN\",\n \"sourceVid\": [\n \n ]\n }\n ],\n \"value\": \"Example Company\",\n \"source\": \"BIDEN\"\n }\n },\n \"isDeleted\": false,\n \"companyId\": 115200636\n },\n {\n \"portalId\": 62515,\n \"additionalDomains\": [\n \n ],\n \"properties\": {\n \"website\": {\n \"sourceId\": null,\n \"timestamp\": 1457535205549,\n \"versions\": [\n {\n \"timestamp\": 1457535205549,\n \"sourceVid\": [\n \n ],\n \"name\": \"website\",\n \"value\": \"test.com\",\n \"source\": \"COMPANIES\"\n }\n ],\n \"value\": \"test.com\",\n \"source\": \"COMPANIES\"\n },\n \"name\": {\n \"sourceId\": \"name\",\n \"timestamp\": 1468832771769,\n \"versions\": [\n {\n \"name\": \"name\",\n \"sourceId\": \"name\",\n \"timestamp\": 1468832771769,\n \"value\": \"Test Company\",\n \"source\": \"BIDEN\",\n \"sourceVid\": [\n \n ]\n }\n ],\n \"value\": \"Test Company\",\n \"source\": \"BIDEN\"\n }\n },\n \"isDeleted\": false,\n \"companyId\": 115279791\n }\n ],\n \"has-more\": true,\n \"offset\": 115279791\n}"
Used to page through the results. Each request will return an offset value that you use in the next request to get the next set of result.
Specifies the number of companies to be returned.
Successful response - Returns a list of all companies sorted by the date the companies were created
The response is of type object
.
Was this page helpful?