APIs & Integrations

AlonsoM45
Mitglied

Property "profile-url" is missing in the response to my request to the Contacts API

lösung

Hi, I am currently making a GET request to an URL similar to this one:

https://api.hubapi.com/contacts/v1/contact/email/{CONTACT_EMAIL}/profile?hapikey={API_KEY}

I have been making requests to this endpoint since at least a month, and the "profile-url" property is always present in the response whenever the contact email belongs to a registered contact. However, half an hour ago I performed made the same request and this time the "profile-url" was not present. Since that moment, I have been performing similar requests and the property is still not present in the response. I believe it should be present, if my understanding of the following documentation is correct:
https://legacydocs.hubspot.com/docs/methods/contacts/contacts-overview

 

I checked the Developers Announcement board and I didn't found any information related to any change in this endpoint. However, I might be wrong... Is the property being removed from the endpoint?

1 Akzeptierte Lösung
dennisedson
Lösung
HubSpot-Produktteam
HubSpot-Produktteam

Property "profile-url" is missing in the response to my request to the Contacts API

lösung

I think I have addressed this in places where all three of you are, but just in case.  When we removed the profile-token, the consequence was that it also eliminated the profile-url which is dependent upon the token.  We made the poor assumption that this was known.  We will strive to be more clear in the future and I, personally, will try to overcommunicate upcoming changes as @Jacob02 suggested in another post. 

Lösung in ursprünglichem Beitrag anzeigen

8 Antworten
danielad
Teilnehmer/-in

Property "profile-url" is missing in the response to my request to the Contacts API

lösung

Thanks I ended up using the following, hope 'portal-id' is the same as 'hubid' (from  your example):

 

string portalId = ((String)(data["portal-id"]));
string vid = ((String)(data["vid"]));

hbprofileurl = "https://app.hubspot.com/contacts/" + portalId + "/contact/" + vid + "/";

dennisedson
HubSpot-Produktteam
HubSpot-Produktteam

Property "profile-url" is missing in the response to my request to the Contacts API

lösung

@danielad ,yep!  Exactly correct

danielad
Teilnehmer/-in

Property "profile-url" is missing in the response to my request to the Contacts API

lösung

I have the same issue. We used the profile-url to populate it in the CRM lead record, so that sales rep can go straight to the specific Hubspot contact page.

Is there any other way to build the url with what is being included in the contacts response data?

0 Upvotes
dennisedson
HubSpot-Produktteam
HubSpot-Produktteam

Property "profile-url" is missing in the response to my request to the Contacts API

lösung

@danielad , this url path should lead to the same place:

https://app.hubspot.com/contacts/:hubid/contact/:vid

Alvarocaste
Teilnehmer/-in

Property "profile-url" is missing in the response to my request to the Contacts API

lösung

Hi Dennisedson,

I've created an account to make some tests and I've realized that my subdomain is `app-eu1` (app-eu1.hubspot.com) so if I use https://app.hubspot.com/contacts/:hubid/contact/:vid doesn't redirect properly.


Is this something known? if yes, how do you deal with it?


We would need to build the URL depending on who you are (e.g. `app-ue1`, `app`, and so on)


Thanks

0 Upvotes
dennisedson
Lösung
HubSpot-Produktteam
HubSpot-Produktteam

Property "profile-url" is missing in the response to my request to the Contacts API

lösung

I think I have addressed this in places where all three of you are, but just in case.  When we removed the profile-token, the consequence was that it also eliminated the profile-url which is dependent upon the token.  We made the poor assumption that this was known.  We will strive to be more clear in the future and I, personally, will try to overcommunicate upcoming changes as @Jacob02 suggested in another post. 

Jacob02
Mitwirkender/Mitwirkende

Property "profile-url" is missing in the response to my request to the Contacts API

lösung

Yes, since a few days we also have the problem that the value "profile-url" is missing in the response.

0 Upvotes
kmuenze
Teilnehmer/-in | Platinum Partner
Teilnehmer/-in | Platinum Partner

Property "profile-url" is missing in the response to my request to the Contacts API

lösung

I am expereincing the same issue. The v3 endpoints do not return the profile-url but v1 endpoints are not yet deprecated so this should still work.