Unable to see contacts I cretaed with the API


#1

Using the REST API I am creating contacts in Hubspot.
I do not see the contacts when I login to Hubspot even though the POST response seems good.

When I run the code a 2nd time, I get:

{"status":"error","message":"Contact already exists"

So, the contact is there, why can’t I see it in Hubspot?


#2

Hi @mclayton,

Can you reach back out with your Hub ID and the vid of a contact that you’ve created, but can’t see?


#3

My User ID: 4710549
Here is the response from a Contacts request:

{"contacts":[{"addedAt":1508338518657,"vid":1,"canonical-vid":1,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mNyCdXcOmiWJcb0KYG9ZVHiM4NBodZLzsmgk3zeYhjnJ6LaiPxrrEtOQ0MmaD5tDJDymVQJr6-zYkRWNGvO5fso7th_VcEGhkeYg50eMSopktcM1CINEpkB0hygQCb4wlePtEr6","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mNyCdXcOmiWJcb0KYG9ZVHiM4NBodZLzsmgk3zeYhjnJ6LaiPxrrEtOQ0MmaD5tDJDymVQJr6-zYkRWNGvO5fso7th_VcEGhkeYg50eMSopktcM1CINEpkB0hygQCb4wlePtEr6/","properties":{"firstname":{"value":"HubSpot"},"lastmodifieddate":{"value":"1508338531214"},"company":{"value":"HubSpot"},"lastname":{"value":"Test"}},"form-submissions":[],"identity-profiles":[{"vid":1,"saved-at-timestamp":1508338518489,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"atsistesting@hubspot.com","timestamp":1508338518385,"is-primary":true},{"type":"LEAD_GUID","value":"da3da77d-2b8b-455b-9ad5-e989f9f3816e","timestamp":1508338518480}]}],"merge-audits":[]},{"addedAt":1508429906535,"vid":51,"canonical-vid":51,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mODz69aNFxmh4B2BBwDOhjZ-WHtfrlaSznztICWbyy57u8LPQmVqdfSBju82qIwi-kEh2QEu7CUrx52chZ65CfgIYiBL4hh3VFXx7l4rPEe9m5aK9ZpNpVffZgRNLmTbRBga76i","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mODz69aNFxmh4B2BBwDOhjZ-WHtfrlaSznztICWbyy57u8LPQmVqdfSBju82qIwi-kEh2QEu7CUrx52chZ65CfgIYiBL4hh3VFXx7l4rPEe9m5aK9ZpNpVffZgRNLmTbRBga76i/","properties":{"firstname":{"value":"Andrea"},"lastmodifieddate":{"value":"1508431576422"},"lastname":{"value":"Ferris"}},"form-submissions":[],"identity-profiles":[{"vid":51,"saved-at-timestamp":1508429906491,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"aeferris@lungevity.org","timestamp":1508429906386,"is-primary":true},{"type":"LEAD_GUID","value":"037e07a0-8771-4d0d-a067-678cccd0e77c","timestamp":1508429906485}]}],"merge-audits":[]},{"addedAt":1508430755922,"vid":101,"canonical-vid":101,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mNrOYeYIUExAtOKnZJ-tRfKRnGssD76k4AYbuEYAIINUY3nvCAOcU3LmCJzZXaXM6luRkgVz_BD6Q3b2IRK8uglTtP4Xirkc5FqhV1SHKSm9uRy6Atr4Pkih7UEUbCf60I-HuLi","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mNrOYeYIUExAtOKnZJ-tRfKRnGssD76k4AYbuEYAIINUY3nvCAOcU3LmCJzZXaXM6luRkgVz_BD6Q3b2IRK8uglTtP4Xirkc5FqhV1SHKSm9uRy6Atr4Pkih7UEUbCf60I-HuLi/","properties":{"firstname":{"value":"Donna"},"lastmodifieddate":{"value":"1508432579939"},"lastname":{"value":"Appell"}},"form-submissions":[],"identity-profiles":[{"vid":101,"saved-at-timestamp":1508430755884,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"dappell@hpsnetwork.org","timestamp":1508430755854,"is-primary":true},{"type":"LEAD_GUID","value":"d15e78ea-2780-4a99-a7c1-12599e82ec0e","timestamp":1508430755881}]}],"merge-audits":[]},{"addedAt":1508430756188,"vid":151,"canonical-vid":151,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mNpLS8NjUnTq8jm8Ks70n0F3ICQP8ObL93cb9g6Mz1vQp8OIrVEMOQGO0Bjp3dWWtrJcnXuhL_DqCtu4kab11W7jwt0tYK2FDpPluONUfNmGzKiaN2GP-78c9iRnH_R2wIX13kE","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mNpLS8NjUnTq8jm8Ks70n0F3ICQP8ObL93cb9g6Mz1vQp8OIrVEMOQGO0Bjp3dWWtrJcnXuhL_DqCtu4kab11W7jwt0tYK2FDpPluONUfNmGzKiaN2GP-78c9iRnH_R2wIX13kE/","properties":{"firstname":{"value":"Ginger"},"lastmodifieddate":{"value":"1508432537004"},"lastname":{"value":"Spitzer"}},"form-submissions":[],"identity-profiles":[{"vid":151,"saved-at-timestamp":1508430756148,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"ginger@stopsarcoidosis.org","timestamp":1508430756059,"is-primary":true},{"type":"LEAD_GUID","value":"faf3ea93-e4a5-45a9-9b37-19123fef961f","timestamp":1508430756145}]}],"merge-audits":[]},{"addedAt":1508430756369,"vid":201,"canonical-vid":201,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mOhOna4zrQQH_6mHoOK6x4o3rfnSyYgK6dAXNsLEGhwdkj4Ve8NhyPpfcQTljjovFMlW0WeiXNouYiV_fd0f6VnMLFFa2JreGsT5LD4GQT-KgpNN2VXpl-6WREkUMH-FuQj1RPf","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mOhOna4zrQQH_6mHoOK6x4o3rfnSyYgK6dAXNsLEGhwdkj4Ve8NhyPpfcQTljjovFMlW0WeiXNouYiV_fd0f6VnMLFFa2JreGsT5LD4GQT-KgpNN2VXpl-6WREkUMH-FuQj1RPf/","properties":{"firstname":{"value":"Gregory"},"lastmodifieddate":{"value":"1508432447300"},"lastname":{"value":"Porta"}},"form-submissions":[],"identity-profiles":[{"vid":201,"saved-at-timestamp":1508430756318,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"gporta@cinci.rr.com","timestamp":1508430756297,"is-primary":true},{"type":"LEAD_GUID","value":"687f4b0d-f919-4ce2-8fc3-66de7f232454","timestamp":1508430756316}]}],"merge-audits":[]},{"addedAt":1508430756701,"vid":251,"canonical-vid":251,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mMAeNO9Gtq7rtp9XeM6l8_G8J5lNmQquczCYJL3mGx-9myt8qZJbvuEfDg_cPAAijwqMxpq4qOg4C_o_WQUxhnGKpQp6Vjs5GDUBvqIYu09o5x29mdqzoxMY3NSRyP-eC0TnIa9","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mMAeNO9Gtq7rtp9XeM6l8_G8J5lNmQquczCYJL3mGx-9myt8qZJbvuEfDg_cPAAijwqMxpq4qOg4C_o_WQUxhnGKpQp6Vjs5GDUBvqIYu09o5x29mdqzoxMY3NSRyP-eC0TnIa9/","properties":{"firstname":{"value":"Jack"},"lastmodifieddate":{"value":"1508432547348"},"lastname":{"value":"Kelly"}},"form-submissions":[],"identity-profiles":[{"vid":251,"saved-at-timestamp":1508430756596,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"jayfk20@bellsouth.net","timestamp":1508430756577,"is-primary":true},{"type":"LEAD_GUID","value":"56d36750-6f3f-4c83-ba3e-2e708718a6c1","timestamp":1508430756593}]}],"merge-audits":[]},{"addedAt":1508430756878,"vid":301,"canonical-vid":301,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mOW-JLSQFpOqxXn0rGmrlq9bo213dGrfi5BGYDJuPBhtkUy9SE-PISQkOlJqAFCphGIiRIM8gpCzUtM_TwDtQplGlB1F8D5KmkEwtvkiD6636Tg0FIkqor1RI9D3Y6-mXNYmuIz","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mOW-JLSQFpOqxXn0rGmrlq9bo213dGrfi5BGYDJuPBhtkUy9SE-PISQkOlJqAFCphGIiRIM8gpCzUtM_TwDtQplGlB1F8D5KmkEwtvkiD6636Tg0FIkqor1RI9D3Y6-mXNYmuIz/","properties":{"firstname":{"value":"Jeffrey"},"lastmodifieddate":{"value":"1508430775038"},"lastname":{"value":"Goldstein"}},"form-submissions":[],"identity-profiles":[{"vid":301,"saved-at-timestamp":1508430756799,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"jeff@lungtransplantfoundation.org","timestamp":1508430756791,"is-primary":true},{"type":"LEAD_GUID","value":"a887b748-d9f3-41ba-bab2-ad7acad71bcf","timestamp":1508430756795}]}],"merge-audits":[]},{"addedAt":1508430757142,"vid":302,"canonical-vid":302,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mO-LPJ_vNQtt36aJ87Qh7Q1YwpyE0QteoZe4o7bqTm4euG-J2m4IdRE3duYAvmWb0_Sfr2iZri5ko8nnc3V7Yduq9CfQXklokyGotTqa08WWO7SOSb1dauYj6vdPwZ2Oy5L0vj-","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mO-LPJ_vNQtt36aJ87Qh7Q1YwpyE0QteoZe4o7bqTm4euG-J2m4IdRE3duYAvmWb0_Sfr2iZri5ko8nnc3V7Yduq9CfQXklokyGotTqa08WWO7SOSb1dauYj6vdPwZ2Oy5L0vj-/","properties":{"firstname":{"value":"Jennifer"},"lastmodifieddate":{"value":"1508430771174"},"lastname":{"value":"Mefford"}},"form-submissions":[],"identity-profiles":[{"vid":302,"saved-at-timestamp":1508430757075,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"jmefford@pulmonaryfibrosis.org","timestamp":1508430757070,"is-primary":true},{"type":"LEAD_GUID","value":"f829a565-2e8a-4c6b-aa75-8c2241c168d6","timestamp":1508430757074}]}],"merge-audits":[]},{"addedAt":1508430757756,"vid":303,"canonical-vid":303,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mO3493mo_rRYFKpJN9upA5pumkEtORU1WT8sKxYjxYbaUFyzDjeCX4BqW7qMF2G5VfvRj2kiMRVGVEahqUKjlymzWR1YQP6fovryq2HkgSeh_uvTR0uFbtZdJx2ndcnUDQCgrne","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mO3493mo_rRYFKpJN9upA5pumkEtORU1WT8sKxYjxYbaUFyzDjeCX4BqW7qMF2G5VfvRj2kiMRVGVEahqUKjlymzWR1YQP6fovryq2HkgSeh_uvTR0uFbtZdJx2ndcnUDQCgrne/","properties":{"firstname":{"value":"Kerri"},"lastmodifieddate":{"value":"1508430778912"},"lastname":{"value":"Connolly"}},"form-submissions":[],"identity-profiles":[{"vid":303,"saved-at-timestamp":1508430757710,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"kconnolly@scleroderma.org","timestamp":1508430757704,"is-primary":true},{"type":"LEAD_GUID","value":"6421b2aa-0acf-41fd-818b-c651607d1a03","timestamp":1508430757709}]}],"merge-audits":[]},{"addedAt":1508430757390,"vid":351,"canonical-vid":351,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mNrG5OK2FPU0Xx-rti1oAFTlm-Cr8-mkfY8tzK2TmbQovtaIk3KcOHCpc9TQdK2V42F-90KvFC6OXzGBtGZWpynIirqYXx9rfFHIouo00sM11jCyBGwZsjN1zJAHkJ-uQrzqsxo","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mNrG5OK2FPU0Xx-rti1oAFTlm-Cr8-mkfY8tzK2TmbQovtaIk3KcOHCpc9TQdK2V42F-90KvFC6OXzGBtGZWpynIirqYXx9rfFHIouo00sM11jCyBGwZsjN1zJAHkJ-uQrzqsxo/","properties":{"firstname":{"value":"Karen"},"lastmodifieddate":{"value":"1508430769039"},"lastname":{"value":"Erickson"}},"form-submissions":[],"identity-profiles":[{"vid":351,"saved-at-timestamp":1508430757287,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"kerickson@alpha1foundation.org","timestamp":1508430757265,"is-primary":true},{"type":"LEAD_GUID","value":"9e379809-c700-4c06-8960-16c31cd59bf1","timestamp":1508430757284}]}],"merge-audits":[]},{"addedAt":1508430757561,"vid":401,"canonical-vid":401,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mOTbqeF1nFuT1vYho_YkVLwlK4epc9jBdd4TfN4wjTQKCfwxjfpWQUpLsi3qomVHilxwlAyriOMJH9ZuUtGzPTTgDwngEnSsBN7gIeMkNrUT2sDJFtVZrMxY2xEogxQIG_mMyhY","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mOTbqeF1nFuT1vYho_YkVLwlK4epc9jBdd4TfN4wjTQKCfwxjfpWQUpLsi3qomVHilxwlAyriOMJH9ZuUtGzPTTgDwngEnSsBN7gIeMkNrUT2sDJFtVZrMxY2xEogxQIG_mMyhY/","properties":{"firstname":{"value":"Kari"},"lastmodifieddate":{"value":"1508432001991"},"lastname":{"value":"Rosbeck"}},"form-submissions":[],"identity-profiles":[{"vid":401,"saved-at-timestamp":1508430757518,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"krosbeck@tsalliance.org","timestamp":1508430757504,"is-primary":true},{"type":"LEAD_GUID","value":"1d084e87-355d-43a2-9ff1-4a18d54312f3","timestamp":1508430757515}]}],"merge-audits":[]}],"has-more":false,"vid-offset":401}


#4

user ID: 4710549

vid: 51, 101


#5

Hi @mclayton,

I’m not able to find a HubSpot portal with the Hub ID 4710549. The Hub ID is the unique id number for your HubSpot account, which appears at the top right of the screen when logged in, and in the URL of all in-app pages. Can you double check and send me the Hub ID you see there?


#6

Hi @mclayton,

I’m not seeing any contacts with the vids 51 and 101. It looks like the vid 51 is linked with another contact now (https://app.hubspot.com/contacts/2873733/contact/1722601/?interaction=note) and the same appears to be true for vid 101. Can we try to replicate this issue again with new contact info/requests?


#7

Here are some IDs you can check:

  • 101
    151
    201
    301
    302
    303
    351
    401

#8

Hi @mclayton,

Thank you for send those examples. I’m getting a valid response for all of those except for vids 302 and 303. While the responses are valid, the is-contact field is set to false are not a valid contact. Those records will only have placeholder data and cannot be updated. This shouldn’t impact contacts that you create via the API. How are you creating contacts?


#9

Here is my code:

		HubspotContact member = null;
		
		for(Iterator<HubspotContact> it = members.iterator();it.hasNext();){
			
			HttpClient client = HttpClientBuilder.create().setDefaultCredentialsProvider(AtsHubspotCredentials.credentialsProvider).build();
			HttpPost request = new HttpPost(AtsHubspotCredentials.BASE_DOMAIN+"/contacts/v1/contact?hapikey="+AtsHubspotCredentials.HAPIkey);
			HttpResponse response = null;
			
			
			member = it.next();
			
			JSONObject lastnameProperty = new JSONObject();
			lastnameProperty.put("property", "lastname");
			lastnameProperty.put("value", member.getLastname());
			
			JSONObject firstnameProperty = new JSONObject();
			firstnameProperty.put("property", "firstname");
			firstnameProperty.put("value", member.getFirstname());
			
			JSONObject emailProperty = new JSONObject();
			emailProperty.put("property", "email");
			emailProperty.put("value", member.getEmail());
		
			JSONArray finalArray = new JSONArray();
			finalArray.add(firstnameProperty);
			finalArray.add(lastnameProperty);
			finalArray.add(emailProperty);
		
		
		
			
		JSONObject properties = new JSONObject();
		properties.put("properties",finalArray);

		
		
		StringEntity entity = new StringEntity(properties.toJSONString());
		
		request.setEntity(entity);
		
		try {
			response = client.execute(request);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		    // Get the response
		    BufferedReader rd = null;
			try {
				rd = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));
			} catch (UnsupportedOperationException | IOException e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}
		    String line = "";
		    try {
				while ((line = rd.readLine()) != null) {    
					System.out.println(line);
				}
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
	
		    request.releaseConnection();
		    
		}

Here is the response from my last request to create contacts:

{"vid":451,"canonical-vid":451,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mMuptE4vFS1CXvEDvBhF4Zu7y-tl9V1cLujYirZszUgFYCE1wrPHIyi5Fx4ku0QmYeyb4IGZ7-ydeRBgf0uvd8ijj9eEpnYIl3rIj1nGWCQHNjGhwWGV1mwbiFosnF93pjbe7hu","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mMuptE4vFS1CXvEDvBhF4Zu7y-tl9V1cLujYirZszUgFYCE1wrPHIyi5Fx4ku0QmYeyb4IGZ7-ydeRBgf0uvd8ijj9eEpnYIl3rIj1nGWCQHNjGhwWGV1mwbiFosnF93pjbe7hu/","properties":{"firstname":{"value":"Mary","versions":[{"value":"Mary","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876020961,"selected":false}]},"createdate":{"value":"1508876020962","versions":[{"value":"1508876020962","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876020962,"selected":false}]},"email":{"value":"mph4220@gmail.com","versions":[{"value":"mph4220@gmail.com","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876020961,"selected":false}]},"lastname":{"value":"Harbaugh","versions":[{"value":"Harbaugh","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876020961,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":451,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"mph4220@gmail.com","timestamp":1508876020962,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"7b6d6c18-8995-4057-86f7-35d24f696b6f","timestamp":1508876021090,"source":"UNSPECIFIED"}]}],"merge-audits":[]}
    {"vid":452,"canonical-vid":452,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mNwkIrKbkj7bOeQOyJxAcnthlsVwfu9ergmQfCw81n6kz05M4cDgDBmalVTRK6Okh60MmkaajpS6SJ1I3LEh7pV6ZWdMb7d4Ds7_M8_UdzkZo3YdFVj7owu8GDLNM74NqcR8DIs","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mNwkIrKbkj7bOeQOyJxAcnthlsVwfu9ergmQfCw81n6kz05M4cDgDBmalVTRK6Okh60MmkaajpS6SJ1I3LEh7pV6ZWdMb7d4Ds7_M8_UdzkZo3YdFVj7owu8GDLNM74NqcR8DIs/","properties":{"firstname":{"value":"Michele","versions":[{"value":"Michele","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021286,"selected":false}]},"createdate":{"value":"1508876021287","versions":[{"value":"1508876021287","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876021287,"selected":false}]},"email":{"value":"mmanion@pcdfoundation.org","versions":[{"value":"mmanion@pcdfoundation.org","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021286,"selected":false}]},"lastname":{"value":"Manion","versions":[{"value":"Manion","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021286,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":452,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"mmanion@pcdfoundation.org","timestamp":1508876021287,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"5905af4c-a8ef-476c-ad11-1a0d027da3eb","timestamp":1508876021290,"source":"UNSPECIFIED"}]}],"merge-audits":[]}
    {"vid":501,"canonical-vid":501,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mNqO-1AGxpB0PNOVN5pxH-nSRa6jI7TDmC3GzzKHk55g-1KTjN93g9U4O5EPOuGRm65eaXVABYHaTIgXaTouE8kWVlhD37Z691LAmiv7d4ZBNHNhaWC9ZuMkxbg3o8ccO3W3f04","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mNqO-1AGxpB0PNOVN5pxH-nSRa6jI7TDmC3GzzKHk55g-1KTjN93g9U4O5EPOuGRm65eaXVABYHaTIgXaTouE8kWVlhD37Z691LAmiv7d4ZBNHNhaWC9ZuMkxbg3o8ccO3W3f04/","properties":{"firstname":{"value":"Sue","versions":[{"value":"Sue","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021581,"selected":false}]},"createdate":{"value":"1508876021582","versions":[{"value":"1508876021582","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876021582,"selected":false}]},"email":{"value":"slandgraf@cfri.org","versions":[{"value":"slandgraf@cfri.org","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021581,"selected":false}]},"lastname":{"value":"Landgraf","versions":[{"value":"Landgraf","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021581,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":501,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"slandgraf@cfri.org","timestamp":1508876021582,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"8c48f9d7-d19b-4eb5-a0f4-6a2064fc85eb","timestamp":1508876021599,"source":"UNSPECIFIED"}]}],"merge-audits":[]}
    {"vid":551,"canonical-vid":551,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mNWupTUakFPvG1FIm6hEwSHDAwLbqLXa-V9pD1MsXTrdq71ZetTzdhNOXDiwfJ35lUbTRyyp2Zx81QN_bwhnkMBv6oci4Uysu-TmUgAlDZZejt6FZklN20f_xEMKb_x5DC7TTYt","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mNWupTUakFPvG1FIm6hEwSHDAwLbqLXa-V9pD1MsXTrdq71ZetTzdhNOXDiwfJ35lUbTRyyp2Zx81QN_bwhnkMBv6oci4Uysu-TmUgAlDZZejt6FZklN20f_xEMKb_x5DC7TTYt/","properties":{"firstname":{"value":"Susan","versions":[{"value":"Susan","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021742,"selected":false}]},"createdate":{"value":"1508876021743","versions":[{"value":"1508876021743","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876021743,"selected":false}]},"email":{"value":"susanw@ntminfo.org","versions":[{"value":"susanw@ntminfo.org","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021742,"selected":false}]},"lastname":{"value":"Hyatt Wisliceny","versions":[{"value":"Hyatt Wisliceny","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021742,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":551,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"susanw@ntminfo.org","timestamp":1508876021743,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"762a31a7-35f0-4f79-a2a5-bef253dce5c2","timestamp":1508876021768,"source":"UNSPECIFIED"}]}],"merge-audits":[]}
    {"vid":453,"canonical-vid":453,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mM4UEy0T4sDWvDOHASNitg879TQCC_NAk25X6BSoASWWOlXVf6henUCpL1rnAQHI4kQtnm6ejVYkKCs5wMYwrFZnIo-W_m5-GCOqC4H_saYJ7ounYqZADjk8TiyL9kca3_kXnJh","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mM4UEy0T4sDWvDOHASNitg879TQCC_NAk25X6BSoASWWOlXVf6henUCpL1rnAQHI4kQtnm6ejVYkKCs5wMYwrFZnIo-W_m5-GCOqC4H_saYJ7ounYqZADjk8TiyL9kca3_kXnJh/","properties":{"firstname":{"value":"Tonya","versions":[{"value":"Tonya","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021912,"selected":false}]},"createdate":{"value":"1508876021913","versions":[{"value":"1508876021913","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876021913,"selected":false}]},"email":{"value":"twinders@allergyasthmanetwork.org","versions":[{"value":"twinders@allergyasthmanetwork.org","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021912,"selected":false}]},"lastname":{"value":"Winders","versions":[{"value":"Winders","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876021912,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":453,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"twinders@allergyasthmanetwork.org","timestamp":1508876021913,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"295f3821-f05d-4da6-9f76-5717ca9023b9","timestamp":1508876021918,"source":"UNSPECIFIED"}]}],"merge-audits":[]}
    {"vid":454,"canonical-vid":454,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mPKPGgkZejR6a9JVuPwNWYwKZyJPjnVEJs1jYHC-mcE62b0K0qWzEUSONe9zcOVHucF7hW5uWz99Yw9nrBOZpA1zMHF6rGAgjdcD82ooQv41ZBZe5r-RTprADrIxqBH7AdLHVgs","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mPKPGgkZejR6a9JVuPwNWYwKZyJPjnVEJs1jYHC-mcE62b0K0qWzEUSONe9zcOVHucF7hW5uWz99Yw9nrBOZpA1zMHF6rGAgjdcD82ooQv41ZBZe5r-RTprADrIxqBH7AdLHVgs/","properties":{"firstname":{"value":"Aanchal","versions":[{"value":"Aanchal","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022062,"selected":false}]},"createdate":{"value":"1508876022063","versions":[{"value":"1508876022063","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876022063,"selected":false}]},"email":{"value":"draanchalgupta@gmail.com","versions":[{"value":"draanchalgupta@gmail.com","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022062,"selected":false}]},"lastname":{"value":"Gupta","versions":[{"value":"Gupta","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022062,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":454,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"draanchalgupta@gmail.com","timestamp":1508876022063,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"b74bbd0b-7b2d-4ded-8c00-d2c6f1cd6877","timestamp":1508876022067,"source":"UNSPECIFIED"}]}],"merge-audits":[]}
    {"vid":601,"canonical-vid":601,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mPdABb2BbM9n0xpVbeuMPcKRskmoNJTaUOwVWrGAt7bjO87dQcTGxgnzCYacVesvy-fVeC33vF9i4Bgoelv2gJ0fbQk_BWBu0IouCyb-zR6-fY_J6dbyqCLCR-7LkU8lhmIaDw-","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mPdABb2BbM9n0xpVbeuMPcKRskmoNJTaUOwVWrGAt7bjO87dQcTGxgnzCYacVesvy-fVeC33vF9i4Bgoelv2gJ0fbQk_BWBu0IouCyb-zR6-fY_J6dbyqCLCR-7LkU8lhmIaDw-/","properties":{"firstname":{"value":"Abdul","versions":[{"value":"Abdul","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022235,"selected":false}]},"createdate":{"value":"1508876022237","versions":[{"value":"1508876022237","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876022237,"selected":false}]},"email":{"value":"asiddiqui1@nshs.edu","versions":[{"value":"asiddiqui1@nshs.edu","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022235,"selected":false}]},"lastname":{"value":"Siddiqui","versions":[{"value":"Siddiqui","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022235,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":601,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"asiddiqui1@nshs.edu","timestamp":1508876022237,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"1cfd8fa8-59af-45ca-a86d-4f4ab9abf463","timestamp":1508876022246,"source":"UNSPECIFIED"}]}],"merge-audits":[]}
    {"vid":651,"canonical-vid":651,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mPktkxqb2fpLmjUnUeCkOA1A5yhf0KtMqDJfJoq2siuSgnar-Gd5vpViMJeLmXPOHHwtRU8ruzsTE5t8x76LUuwVk1zpaG9TpJky8IaXfJFLfk_A1anOpDYkinlN4BmulM-GaEa","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mPktkxqb2fpLmjUnUeCkOA1A5yhf0KtMqDJfJoq2siuSgnar-Gd5vpViMJeLmXPOHHwtRU8ruzsTE5t8x76LUuwVk1zpaG9TpJky8IaXfJFLfk_A1anOpDYkinlN4BmulM-GaEa/","properties":{"firstname":{"value":"Abhishek","versions":[{"value":"Abhishek","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022416,"selected":false}]},"createdate":{"value":"1508876022417","versions":[{"value":"1508876022417","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876022417,"selected":false}]},"email":{"value":"drabhishekbhardwaj66@gmail.com","versions":[{"value":"drabhishekbhardwaj66@gmail.com","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022416,"selected":false}]},"lastname":{"value":"Bhardwaj","versions":[{"value":"Bhardwaj","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022416,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":651,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"drabhishekbhardwaj66@gmail.com","timestamp":1508876022417,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"939f25c5-e0fa-4c69-980c-9a415365a891","timestamp":1508876022474,"source":"UNSPECIFIED"}]}],"merge-audits":[]}
    {"vid":701,"canonical-vid":701,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mNVYRvqxpUZeElS3hTDIlJRtEkPZ8kXZRCpKOQo60vNQooR4JTe8buzoFOb2mjFBjAjKPGw_9t9PyahLE8mvclDoMGz0DSh-ochmMY-gyfIPW03TA4ppow23inGQimgvHzYueCJ","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mNVYRvqxpUZeElS3hTDIlJRtEkPZ8kXZRCpKOQo60vNQooR4JTe8buzoFOb2mjFBjAjKPGw_9t9PyahLE8mvclDoMGz0DSh-ochmMY-gyfIPW03TA4ppow23inGQimgvHzYueCJ/","properties":{"firstname":{"value":"Adam","versions":[{"value":"Adam","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022733,"selected":false}]},"createdate":{"value":"1508876022733","versions":[{"value":"1508876022733","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876022733,"selected":false}]},"email":{"value":"aanderso2@wustl.edu","versions":[{"value":"aanderso2@wustl.edu","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022733,"selected":false}]},"lastname":{"value":"Anderson","versions":[{"value":"Anderson","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022733,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":701,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"aanderso2@wustl.edu","timestamp":1508876022733,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"61a86f41-8754-425e-9cb6-970a041105ad","timestamp":1508876022737,"source":"UNSPECIFIED"}]}],"merge-audits":[]}
    {"vid":751,"canonical-vid":751,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mPjoecn8Ow3gD7hzSLEPMc6d_zhgwuV8l7Nui6rso-mpYv-n0XEMTs_RNnFA3zFKnRBYqg5SlPtY-fUhdiscLfLPsTQIUuwYBe9QSlCPjthZarX9xdswMI3JyWaIbEkMqhLTt1U","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mPjoecn8Ow3gD7hzSLEPMc6d_zhgwuV8l7Nui6rso-mpYv-n0XEMTs_RNnFA3zFKnRBYqg5SlPtY-fUhdiscLfLPsTQIUuwYBe9QSlCPjthZarX9xdswMI3JyWaIbEkMqhLTt1U/","properties":{"firstname":{"value":"Adam","versions":[{"value":"Adam","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022986,"selected":false}]},"createdate":{"value":"1508876022988","versions":[{"value":"1508876022988","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876022988,"selected":false}]},"email":{"value":"adgreen@montefiore.org","versions":[{"value":"adgreen@montefiore.org","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022986,"selected":false}]},"lastname":{"value":"Green","versions":[{"value":"Green","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876022986,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":751,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"adgreen@montefiore.org","timestamp":1508876022988,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"cb8ece3d-0a73-429b-a6c2-86aba153d4a9","timestamp":1508876022992,"source":"UNSPECIFIED"}]}],"merge-audits":[]}

#10

Hi @mclayton,

Using the portal-id and vid we can see in your response, I was able to successfully pull the information for all of those contacts with the contacts/v1/contact/vids/batch endpoint. What endpoint are you using where you’re unable to see these contacts? Is it the batch create/update endpoint?


#11

Here is the endpoints I am using:

create contacts:
https://api.hubapi.com/contacts/v1/contact?hapikey=xxxxx

List contacts:
https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=xxxxx


#12

Also,

I am not able to retrieve contacts not created by the API.

M


#13

Hi @mclayton,

The first endpoint you listed, which is used to create a contact, does not allow for updating contacts as well. Once a contact is created, you’ll receive a “Contact already exists” error if you try to use the /contacts/v1/contact endpoint to update the record. If you’d like to use the same endpoint to both create and update contact records, you should use the create or update endpoint:

With regard to any ‘missing’ contact records: I’m able to use the list contacts endpoint you mentioned to pull contacts from your portal. Can you give me a specific example of a contact record that you cannot see using the /contacts/v1/lists/all/contacts/all endpoint? I’m not noticing anything amiss when using that endpoint.


#14

Ok, I can pull contacts using the correct endpoints.

Here is my problem:

There is a created contact in this JSON response:
{"vid":451,"canonical-vid":451,"merged-vids":[],"portal-id":3985875,"is-contact":true,"profile-token":"AO_T-mMuptE4vFS1CXvEDvBhF4Zu7y-tl9V1cLujYirZszUgFYCE1wrPHIyi5Fx4ku0QmYeyb4IGZ7-ydeRBgf0uvd8ijj9eEpnYIl3rIj1nGWCQHNjGhwWGV1mwbiFosnF93pjbe7hu","profile-url":"https://app.hubspot.com/contacts/3985875/lists/public/contact/_AO_T-mMuptE4vFS1CXvEDvBhF4Zu7y-tl9V1cLujYirZszUgFYCE1wrPHIyi5Fx4ku0QmYeyb4IGZ7-ydeRBgf0uvd8ijj9eEpnYIl3rIj1nGWCQHNjGhwWGV1mwbiFosnF93pjbe7hu/","properties":{"firstname":{"value":"Mary","versions":[{"value":"Mary","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876020961,"selected":false}]},"createdate":{"value":"1508876020962","versions":[{"value":"1508876020962","source-type":"API","source-id":"Contacts","source-label":null,"timestamp":1508876020962,"selected":false}]},"email":{"value":"mph4220@gmail.com","versions":[{"value":"mph4220@gmail.com","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876020961,"selected":false}]},"lastname":{"value":"Harbaugh","versions":[{"value":"Harbaugh","source-type":"API","source-id":null,"source-label":null,"timestamp":1508876020961,"selected":false}]}},"form-submissions":[],"list-memberships":[],"identity-profiles":[{"vid":451,"is-deleted":false,"is-contact":false,"pointer-vid":0,"previous-vid":0,"linked-vids":[],"saved-at-timestamp":0,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"mph4220@gmail.com","timestamp":1508876020962,"is-primary":true,"source":"UNSPECIFIED"},{"type":"LEAD_GUID","value":"7b6d6c18-8995-4057-86f7-35d24f696b6f","timestamp":1508876021090,"source":"UNSPECIFIED"}]}],"merge-audits":[]}

This contact’s name is: Mary Harbaugh, email: mph4220[@]gmail.com.

I cannot locate Mary Harbaugh inside of Hubspot.

Why doesn’t this contact show in the hubspot website?
When I login and enter ‘Mary Harbaugh’ into the search box, nothing comes up.


#15

I just performed a REST request and got this:

1::[{"vid":1,"saved-at-timestamp":1508338518489,"identities":[{"is-primary":true,"type":"EMAIL","value":"atsistesting@hubspot.com","timestamp":1508338518385},{"type":"LEAD_GUID","value":"da3da77d-2b8b-455b-9ad5-e989f9f3816e","timestamp":1508338518480}],"deleted-changed-timestamp":0}]
2::[{"vid":51,"saved-at-timestamp":1508429906491,"identities":[{"is-primary":true,"type":"EMAIL","value":"aeferris@lungevity.org","timestamp":1508429906386},{"type":"LEAD_GUID","value":"037e07a0-8771-4d0d-a067-678cccd0e77c","timestamp":1508429906485}],"deleted-changed-timestamp":0}]
3::[{"vid":101,"saved-at-timestamp":1508430755884,"identities":[{"is-primary":true,"type":"EMAIL","value":"dappell@hpsnetwork.org","timestamp":1508430755854},{"type":"LEAD_GUID","value":"d15e78ea-2780-4a99-a7c1-12599e82ec0e","timestamp":1508430755881}],"deleted-changed-timestamp":0}]
4::[{"vid":151,"saved-at-timestamp":1508430756148,"identities":[{"is-primary":true,"type":"EMAIL","value":"ginger@stopsarcoidosis.org","timestamp":1508430756059},{"type":"LEAD_GUID","value":"faf3ea93-e4a5-45a9-9b37-19123fef961f","timestamp":1508430756145}],"deleted-changed-timestamp":0}]
5::[{"vid":201,"saved-at-timestamp":1508430756318,"identities":[{"is-primary":true,"type":"EMAIL","value":"gporta@cinci.rr.com","timestamp":1508430756297},{"type":"LEAD_GUID","value":"687f4b0d-f919-4ce2-8fc3-66de7f232454","timestamp":1508430756316}],"deleted-changed-timestamp":0}]
6::[{"vid":251,"saved-at-timestamp":1508430756596,"identities":[{"is-primary":true,"type":"EMAIL","value":"jayfk20@bellsouth.net","timestamp":1508430756577},{"type":"LEAD_GUID","value":"56d36750-6f3f-4c83-ba3e-2e708718a6c1","timestamp":1508430756593}],"deleted-changed-timestamp":0}]
7::[{"vid":301,"saved-at-timestamp":1508430756799,"identities":[{"is-primary":true,"type":"EMAIL","value":"jeff@lungtransplantfoundation.org","timestamp":1508430756791},{"type":"LEAD_GUID","value":"a887b748-d9f3-41ba-bab2-ad7acad71bcf","timestamp":1508430756795}],"deleted-changed-timestamp":0}]
8::[{"vid":302,"saved-at-timestamp":1508430757075,"identities":[{"is-primary":true,"type":"EMAIL","value":"jmefford@pulmonaryfibrosis.org","timestamp":1508430757070},{"type":"LEAD_GUID","value":"f829a565-2e8a-4c6b-aa75-8c2241c168d6","timestamp":1508430757074}],"deleted-changed-timestamp":0}]
9::[{"vid":303,"saved-at-timestamp":1508430757710,"identities":[{"is-primary":true,"type":"EMAIL","value":"kconnolly@scleroderma.org","timestamp":1508430757704},{"type":"LEAD_GUID","value":"6421b2aa-0acf-41fd-818b-c651607d1a03","timestamp":1508430757709}],"deleted-changed-timestamp":0}]
10::[{"vid":351,"saved-at-timestamp":1508430757287,"identities":[{"is-primary":true,"type":"EMAIL","value":"kerickson@alpha1foundation.org","timestamp":1508430757265},{"type":"LEAD_GUID","value":"9e379809-c700-4c06-8960-16c31cd59bf1","timestamp":1508430757284}],"deleted-changed-timestamp":0}]
11::[{"vid":401,"saved-at-timestamp":1508430757518,"identities":[{"is-primary":true,"type":"EMAIL","value":"krosbeck@tsalliance.org","timestamp":1508430757504},{"type":"LEAD_GUID","value":"1d084e87-355d-43a2-9ff1-4a18d54312f3","timestamp":1508430757515}],"deleted-changed-timestamp":0}]
12::[{"vid":451,"saved-at-timestamp":1508876021139,"identities":[{"is-primary":true,"type":"EMAIL","value":"mph4220@gmail.com","timestamp":1508876020962},{"type":"LEAD_GUID","value":"7b6d6c18-8995-4057-86f7-35d24f696b6f","timestamp":1508876021090}],"deleted-changed-timestamp":0}]
13::[{"vid":452,"saved-at-timestamp":1508876021290,"identities":[{"is-primary":true,"type":"EMAIL","value":"mmanion@pcdfoundation.org","timestamp":1508876021287},{"type":"LEAD_GUID","value":"5905af4c-a8ef-476c-ad11-1a0d027da3eb","timestamp":1508876021290}],"deleted-changed-timestamp":0}]
14::[{"vid":453,"saved-at-timestamp":1508876021919,"identities":[{"is-primary":true,"type":"EMAIL","value":"twinders@allergyasthmanetwork.org","timestamp":1508876021913},{"type":"LEAD_GUID","value":"295f3821-f05d-4da6-9f76-5717ca9023b9","timestamp":1508876021918}],"deleted-changed-timestamp":0}]
15::[{"vid":454,"saved-at-timestamp":1508876022067,"identities":[{"is-primary":true,"type":"EMAIL","value":"draanchalgupta@gmail.com","timestamp":1508876022063},{"type":"LEAD_GUID","value":"b74bbd0b-7b2d-4ded-8c00-d2c6f1cd6877","timestamp":1508876022067}],"deleted-changed-timestamp":0}]
16::[{"vid":501,"saved-at-timestamp":1508876021601,"identities":[{"is-primary":true,"type":"EMAIL","value":"slandgraf@cfri.org","timestamp":1508876021582},{"type":"LEAD_GUID","value":"8c48f9d7-d19b-4eb5-a0f4-6a2064fc85eb","timestamp":1508876021599}],"deleted-changed-timestamp":0}]
17::[{"vid":551,"saved-at-timestamp":1508876021770,"identities":[{"is-primary":true,"type":"EMAIL","value":"susanw@ntminfo.org","timestamp":1508876021743},{"type":"LEAD_GUID","value":"762a31a7-35f0-4f79-a2a5-bef253dce5c2","timestamp":1508876021768}],"deleted-changed-timestamp":0}]
18::[{"vid":601,"saved-at-timestamp":1508876022249,"identities":[{"is-primary":true,"type":"EMAIL","value":"asiddiqui1@nshs.edu","timestamp":1508876022237},{"type":"LEAD_GUID","value":"1cfd8fa8-59af-45ca-a86d-4f4ab9abf463","timestamp":1508876022246}],"deleted-changed-timestamp":0}]
19::[{"vid":651,"saved-at-timestamp":1508876022477,"identities":[{"is-primary":true,"type":"EMAIL","value":"drabhishekbhardwaj66@gmail.com","timestamp":1508876022417},{"type":"LEAD_GUID","value":"939f25c5-e0fa-4c69-980c-9a415365a891","timestamp":1508876022474}],"deleted-changed-timestamp":0}]
20::[{"vid":701,"saved-at-timestamp":1508876022740,"identities":[{"is-primary":true,"type":"EMAIL","value":"aanderso2@wustl.edu","timestamp":1508876022733},{"type":"LEAD_GUID","value":"61a86f41-8754-425e-9cb6-970a041105ad","timestamp":1508876022737}],"deleted-changed-timestamp":0}]

I cannot find these people in the ‘Contacts’ section of Hubspot.
I login and perform a search in the search box. I cannot locate these records.


#16

Hi @mclayton,

The portal with Hub ID 3985875 is a developer portal, which does not have access to the tools a Marketing/CRM portal does. While it appears you can create these contacts and associate them with this portal, there is no way to access the contacts in-app, since the developer portal doesn’t have access to the contacts tool. You need to create these contacts in a test portal or a production Marketing/CRM portal in order to be able to access/view them in-app.

If you can see these contacts via the API, you can pull this information from your developer portal (Hub ID 3985875) and create them in the property test or Marketing/CRM portal in order to view them correctly.


#17

Is there any way I can get direct access to the production Marketing/CRM portal?
I thought I was working in the production portal?

I want to access the production Marketing/CRM portal.
How do I do that?

I already have a portal.


#18

Hi @mclayton,

That Hub ID corresponds to your developer portal, which leads me to believe that the API key you’re using is also from your developer portal. You’ll need to get the API key from your test or Marketing/CRM portal instead, and use that to authenticate your requests.


#20

Would you please clarify your statement for my benefit?

I use 'test' portals specifically to test 'in-app' functionality all the time. In fact, it's about the only reason I've used dev portals (so far). While there are limitations, as indicated on this HubSpot 'How do I create a test portal?' page (e.g., the portal expires in 90 days), they seem to be fully functional otherwise.

Please advise. Thanks in advance.


#21

Hi @MFJLabs,

The distinction here is between a developer portal and a test portal. Developer portals are used to create and manage apps & their settings, as well as create and manage test portals. Developer portals do not have access to the Marketing/CRM tools that production/test portals do. If you're using test portals and the API keys associated with them (not associated with your developer portal) then that post doesn't apply.