APIs & Integrations

AlonsoM45
Miembro

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

resolver

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 Soluciones aceptada
dennisedson
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

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

resolver

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. 

Ver la solución en mensaje original publicado

8 Respuestas 8
danielad
Participante

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

resolver

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
Equipo de producto de HubSpot
Equipo de producto de HubSpot

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

resolver

@danielad ,yep!  Exactly correct

danielad
Participante

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

resolver

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 Me gusta
dennisedson
Equipo de producto de HubSpot
Equipo de producto de HubSpot

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

resolver

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

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

Alvarocaste
Participante

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

resolver

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 Me gusta
dennisedson
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

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

resolver

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
Colaborador

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

resolver

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

0 Me gusta
kmuenze
Participante | Partner nivel Platinum
Participante | Partner nivel Platinum

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

resolver

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.