curl --request GET \
--url https://api.hubapi.com/companies/v2/companies/recent/created[
{
"value": "0",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_num_visits",
"value": "0",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "1419966041287",
"timestamp": 1419966041656,
"source": null,
"sourceId": null,
"versions": [
{
"name": "first_deal_created_date",
"value": "1419966041287",
"timestamp": 1419966041656,
"sourceVid": []
}
]
},
{
"value": "1419968097561",
"timestamp": 1419968097561,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_lastmodifieddate",
"value": "1419968097561",
"timestamp": 1419968097561,
"sourceVid": []
}
]
},
{
"value": "1415689200000",
"timestamp": 1419966061962,
"source": null,
"sourceId": null,
"versions": [
{
"name": "recent_deal_close_date",
"value": "1415689200000",
"timestamp": 1419966061962,
"sourceVid": []
}
]
},
{
"value": "5000",
"timestamp": 1419966061962,
"source": null,
"sourceId": null,
"versions": [
{
"name": "recent_deal_amount",
"value": "5000",
"timestamp": 1419966061962,
"sourceVid": []
}
]
},
{
"value": "1415682000000",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "closedate",
"value": "1415682000000",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "1419966010576",
"timestamp": 1419966010576,
"source": null,
"sourceId": null,
"versions": [
{
"name": "createdate",
"value": "1419966010576",
"timestamp": 1419966010576,
"sourceVid": []
}
]
},
{
"value": "1419966010576",
"timestamp": 1419966010576,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hubspot_owner_assigneddate",
"value": "1419966010576",
"timestamp": 1419966010576,
"sourceVid": []
}
]
},
{
"value": "1419965931323",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "first_contact_createdate",
"value": "1419965931323",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "customer",
"timestamp": 1419966061791,
"source": null,
"sourceId": null,
"versions": [
{
"name": "lifecyclestage",
"value": "customer",
"timestamp": 1419966061791,
"sourceVid": []
}
]
},
{
"value": "5000",
"timestamp": 1419966061962,
"source": null,
"sourceId": null,
"versions": [
{
"name": "total_revenue",
"value": "5000",
"timestamp": 1419966061962,
"sourceVid": []
}
]
},
{
"value": "OFFLINE",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_source",
"value": "OFFLINE",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "0",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_num_page_views",
"value": "0",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "1419965931323",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_first_timestamp",
"value": "1419965931323",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "madison Inc",
"timestamp": 1419966010576,
"source": null,
"sourceId": null,
"versions": [
{
"name": "name",
"value": "madison Inc",
"timestamp": 1419966010576,
"sourceVid": []
}
]
},
{
"value": "1",
"timestamp": 1419966011133,
"source": null,
"sourceId": null,
"versions": [
{
"name": "num_associated_contacts",
"value": "1",
"timestamp": 1419966011133,
"sourceVid": []
}
]
},
{
"value": "70",
"timestamp": 1419966010576,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hubspot_owner_id",
"value": "70",
"timestamp": 1419966010576,
"sourceVid": []
}
]
},
{
"value": "1",
"timestamp": 1419966041656,
"source": null,
"sourceId": null,
"versions": [
{
"name": "num_associated_deals",
"value": "1",
"timestamp": 1419966041656,
"sourceVid": []
}
]
},
{
"value": "",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_source_data_2",
"value": "",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "API",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_source_data_1",
"value": "API",
"timestamp": 1419968066626,
"sourceVid": []
}
]
}
]Returns a list of all companies sorted by the date the companies were most recently modified or created.
curl --request GET \
--url https://api.hubapi.com/companies/v2/companies/recent/created[
{
"value": "0",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_num_visits",
"value": "0",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "1419966041287",
"timestamp": 1419966041656,
"source": null,
"sourceId": null,
"versions": [
{
"name": "first_deal_created_date",
"value": "1419966041287",
"timestamp": 1419966041656,
"sourceVid": []
}
]
},
{
"value": "1419968097561",
"timestamp": 1419968097561,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_lastmodifieddate",
"value": "1419968097561",
"timestamp": 1419968097561,
"sourceVid": []
}
]
},
{
"value": "1415689200000",
"timestamp": 1419966061962,
"source": null,
"sourceId": null,
"versions": [
{
"name": "recent_deal_close_date",
"value": "1415689200000",
"timestamp": 1419966061962,
"sourceVid": []
}
]
},
{
"value": "5000",
"timestamp": 1419966061962,
"source": null,
"sourceId": null,
"versions": [
{
"name": "recent_deal_amount",
"value": "5000",
"timestamp": 1419966061962,
"sourceVid": []
}
]
},
{
"value": "1415682000000",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "closedate",
"value": "1415682000000",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "1419966010576",
"timestamp": 1419966010576,
"source": null,
"sourceId": null,
"versions": [
{
"name": "createdate",
"value": "1419966010576",
"timestamp": 1419966010576,
"sourceVid": []
}
]
},
{
"value": "1419966010576",
"timestamp": 1419966010576,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hubspot_owner_assigneddate",
"value": "1419966010576",
"timestamp": 1419966010576,
"sourceVid": []
}
]
},
{
"value": "1419965931323",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "first_contact_createdate",
"value": "1419965931323",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "customer",
"timestamp": 1419966061791,
"source": null,
"sourceId": null,
"versions": [
{
"name": "lifecyclestage",
"value": "customer",
"timestamp": 1419966061791,
"sourceVid": []
}
]
},
{
"value": "5000",
"timestamp": 1419966061962,
"source": null,
"sourceId": null,
"versions": [
{
"name": "total_revenue",
"value": "5000",
"timestamp": 1419966061962,
"sourceVid": []
}
]
},
{
"value": "OFFLINE",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_source",
"value": "OFFLINE",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "0",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_num_page_views",
"value": "0",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "1419965931323",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_first_timestamp",
"value": "1419965931323",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "madison Inc",
"timestamp": 1419966010576,
"source": null,
"sourceId": null,
"versions": [
{
"name": "name",
"value": "madison Inc",
"timestamp": 1419966010576,
"sourceVid": []
}
]
},
{
"value": "1",
"timestamp": 1419966011133,
"source": null,
"sourceId": null,
"versions": [
{
"name": "num_associated_contacts",
"value": "1",
"timestamp": 1419966011133,
"sourceVid": []
}
]
},
{
"value": "70",
"timestamp": 1419966010576,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hubspot_owner_id",
"value": "70",
"timestamp": 1419966010576,
"sourceVid": []
}
]
},
{
"value": "1",
"timestamp": 1419966041656,
"source": null,
"sourceId": null,
"versions": [
{
"name": "num_associated_deals",
"value": "1",
"timestamp": 1419966041656,
"sourceVid": []
}
]
},
{
"value": "",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_source_data_2",
"value": "",
"timestamp": 1419968066626,
"sourceVid": []
}
]
},
{
"value": "API",
"timestamp": 1419968066626,
"source": null,
"sourceId": null,
"versions": [
{
"name": "hs_analytics_source_data_1",
"value": "API",
"timestamp": 1419968066626,
"sourceVid": []
}
]
}
]Scope requirements
The number of records to return in a single request. Supports values up to 100.
Each response will include a hasMore value and an offset object. If hasMore is true, then you would use the offset object in the next request to get the next set of results.
Successful response
The response is of type object.