APIs & Integrations

Not applicable

API Delivery Issue- Can't find leads

I’m working with a third party company who is trying to send leads VIA API delivery… I’ve given them mapping values, POST URL, and the API key. For some reason I’m not getting the leads they are attempting to send me. They keep saying when they try to send a lead that they keep getting a duplicate response saying that the lead is already in the system.

I’ve searched in sales, marketing, and the search bar and still can’t find the leads.

The company sent me the response message from one of the submitted leads.:

{“vid”:201,“canonical-vid”:201,“merged-vids”:[],“portal-id”:4252733,“is-contact”:true,“profile-token”:“AO_T-mPaas2WRkAqpSzGzUVN3QBtDht6d07E5R7VcrOeGru6r3pxjpE5e8p7eKSQ2He2bVJKxlJC2jU6r0tuvTpmqHj5Nmd2r8AoDGMQQGW3GKxXEdIHaqMqyVQOWv6VABvezSKTwACu”,“profile-url”:“https://app.hubspot.com/contacts/4252733/lists/public/contact/_AO_T-mPaas2WRkAqpSzGzUVN3QBtDht6d07E5... W Broadway ste. 1420”,“versions”:[{“value”:“101 W Broadway ste. 1420”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1517853358583,“selected”:false}]},“phone”:{“value”:“8584545900”,“versions”:[{“value”:“8584545900”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1517853358583,“selected”:false}]},“city”:{“value”:“San Diego”,“versions”:[{“value”:“San Diego”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1517853358583,“selected”:false}]},“createdate”:{“value”:“1517853358584”,“versions”:[{“value”:“1517853358584”,“source-type”:“API”,“source-id”:“Contacts”,“source-label”:null,“timestamp”:1517853358584,“selected”:false}]},“company”:{“value”:“Bizx”,“versions”:[{“value”:“Bizx”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1517853358583,“selected”:false}]},“state”:{“value”:“CA”,“versions”:[{“value”:“CA”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1517853358583,“selected”:false}]},“email”:{“value”:“pramani4+test1@bizx.info”,“versions”:[{“value”:“pramani4+test1@bizx.info”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1517853358583,“selected”:false}]},“lastname”:{“value”:“Ramani4”,“versions”:[{“value”:“Ramani4”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1517853358583,“selected”:false}]}},“form-submissions”:[],“list-memberships”:[],“identity-profiles”:[{“vid”:201,“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”:“pramani4+test1@bizx.info”,“timestamp”:1517853358584,“is-primary”:true,“source”:“UNSPECIFIED”},{“type”:“LEAD_GUID”,“value”:“134a2082-a550-486d-b9a2-a998cf8a35d7”,“timestamp”:1517853358606,“source”:“UNSPECIFIED”}]}],“merge-audits”:[]}Array
(
[code] => 200
[response] => 1
)

“type”:“LEAD_GUID”,“value”:“134a2082-a550-486d-b9a2-a998cf8a35d7” <— This may or may not be a lead ID given to this contact by the CLIENT’s system. May be worth searching on this value, as well as other values provided in the response string

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

API Delivery Issue- Can't find leads

Hi @Onevoice_Communicati,

Can you make sure that the API key they have is from your Marketing/CRM portal, not a developer portal?

0 Upvotes