GET
/
contacts
/
v1
/
lists
/
recently_updated
/
contacts
/
recent
Get recently updated and created contacts
curl --request GET \
  --url https://api.hubapi.com/contacts/v1/lists/recently_updated/contacts/recent
"\nExample GET URL:\nhttps://api.hubapi.com/contacts/v1/lists/recently_updated/contacts/recent?hapikey=demo&count=2\n\n\nExample response:\n{\n  \"contacts\": [\n    {\n      \"addedAt\": 1484858431084,\n      \"vid\": 3234574,\n      \"canonical-vid\": 3234574,\n      \"merged-vids\": [\n        \n      ],\n      \"portal-id\": 62515,\n      \"is-contact\": true,\n      \"properties\": {\n        \"firstname\": {\n          \"value\": \"Jeff\"\n        },\n        \"lastmodifieddate\": {\n          \"value\": \"1484858431084\"\n        },\n        \"company\": {\n          \"value\": \"HubSpot\"\n        },\n        \"lastname\": {\n          \"value\": \"Testing\"\n        }\n      },\n      \"form-submissions\": [\n        \n      ],\n      \"identity-profiles\": [\n        {\n          \"vid\": 3234574,\n          \"saved-at-timestamp\": 1484026585613,\n          \"deleted-changed-timestamp\": 0,\n          \"identities\": [\n            {\n              \"type\": \"EMAIL\",\n              \"value\": \"testingapis@hubspot.com\",\n              \"timestamp\": 1484026585538\n            },\n            {\n              \"type\": \"LEAD_GUID\",\n              \"value\": \"4b11f8af-50d9-4665-9c43-bb2fc46e3a80\",\n              \"timestamp\": 1484026585610\n            }\n          ]\n        }\n      ],\n      \"merge-audits\": [\n        \n      ]\n    },\n    {\n      \"addedAt\": 1484854580823,\n      \"vid\": 3714024,\n      \"canonical-vid\": 3714024,\n      \"merged-vids\": [\n        \n      ],\n      \"portal-id\": 62515,\n      \"is-contact\": true,\n      \"properties\": {\n        \"firstname\": {\n          \"value\": \"Updated\"\n        },\n        \"lastmodifieddate\": {\n          \"value\": \"1484854580823\"\n        },\n        \"lastname\": {\n          \"value\": \"Record\"\n        }\n      },\n      \"form-submissions\": [\n        \n      ],\n      \"identity-profiles\": [\n        {\n          \"vid\": 3714024,\n          \"saved-at-timestamp\": 1484854496366,\n          \"deleted-changed-timestamp\": 0,\n          \"identities\": [\n            {\n              \"type\": \"LEAD_GUID\",\n              \"value\": \"670706c0-3f5c-485b-9bee-5d0b0c6aef97\",\n              \"timestamp\": 1484693212959\n            },\n            {\n              \"type\": \"EMAIL\",\n              \"value\": \"new-email@hubspot.com\",\n              \"timestamp\": 1484854496353\n            }\n          ]\n        }\n      ],\n      \"merge-audits\": [\n        \n      ]\n    }\n  ],\n  \"has-more\": true,\n  \"vid-offset\": 3714024,\n  \"time-offset\": 1484854580823\n}"

Query Parameters

count
string

This parameter lets you specify the amount of contacts to return in your API call. The default for this parameter (if it isn't specified) is 20 contacts. The maximum amount of contacts you can have returned to you via this parameter is 100.

timeOffset
string

One method used to page through the recent contacts. Every call to this endpoint will return a time-offset value. This value is used in the timeOffset parameter of the next call to get the next page of contacts. The preferred method of paging.

vidOffset
string

Another method used to page through the recent contacts. Every call to this endpoint will return a vid-offset value. This value is used in the vidOffset parameter of the next call to get the next page of contacts.

property
string

If you include the "property" parameter, then the properties in the "contact" object in the returned data will only include the property or properties that you request.

propertyMode
string

One of value_only or value_and_history to specify if the current value for a property should be fetched, or the value and all the historical values for that property. Default is value_only.

formSubmissionMode
string

One of all, none, newest, oldest to specify which form submissions should be fetched. Default is newest.

showListMemberships
string

Boolean true or false to indicate whether current list memberships should be fetched for the contact. Default is false.

Response

200 - application/json

Successful response - The get recently updated and created contacts endpoint is used to return information about all contacts for a given account that were updated or created in the last 30 days

The response is of type object.