APIs & Integrations

AlonsoM45
メンバー

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

解決

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件の承認済みベストアンサー
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

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

解決

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. 

元の投稿で解決策を見る

8件の返信
danielad
参加者

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

解決

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製品開発チーム
HubSpot製品開発チーム

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

解決

@danielad ,yep!  Exactly correct

danielad
参加者

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

解決

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 いいね!
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

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

解決

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

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

Alvarocaste
参加者

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

解決

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 いいね!
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

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

解決

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
投稿者

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

解決

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

0 いいね!
kmuenze
参加者 | Platinum Partner
参加者 | Platinum Partner

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

解決

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.