Lists, Lead Scoring & Workflows

Oliver_Mueller
Participante | Partner
Participante | Partner

Access to unique contact id "vid" in properties

resolver

I want to use the unique contact id as a property so to insert in transactionsmails like vouchers, booking, etc. Unfortunately the "vid" is only available in the api not as a regular property in the contact portal. Should be an easy taks to have it there as a non-editable property. 

 

Thx

Oli

1 Soluciones aceptada
Oliver_Mueller
Solución
Participante | Partner
Participante | Partner

Access to unique contact id "vid" in properties

resolver

here's a workaround:

http://hubhacker.com/use-hubspot-vid-as-a-contact-property/

but I don't dare to run a php-script with my hub-id...

 

Here's more info about the api access to vid: 

https://developers.hubspot.com/docs/methods/contacts/get_contact

But what I want is that the portal shows this as a default contact property. 

 

Best

Oli

Ver la solución en mensaje original publicado

6 Respuestas 6
Dean123
Participante

Access to unique contact id "vid" in properties

resolver

To add to this, since Hubspot creates the vid, why not just make it a property that is immediately populated?     One use I have for this is that in some of our internal emails that get created based on someone a contact does, I could create a link in those emails that go directly to the contact record by using the personalization token for the vid (such token does not currently exist since VID is not a property).     Oh - and I need the VID the moment (within minutes) the contact is created, which could be off a form.  Thus, it doesn't help me to manually create and populate this property through manual efforts.   

jennysowyrda
Administrador de la comunidad
Administrador de la comunidad

Access to unique contact id "vid" in properties

resolver

Hi @Oliver_Mueller

 

Can you please share more about how this property is associated with HubSpot? Is this an ID property you are bringing into HubSpot through an api? 

 

Additionally, can you clarify why this property can't be editable? You can edit who has access to contact properties on the user basis, however the only properties that are completely non editable are those which are default HubSpot properties. 

 

 

0 Me gusta
Oliver_Mueller
Solución
Participante | Partner
Participante | Partner

Access to unique contact id "vid" in properties

resolver

here's a workaround:

http://hubhacker.com/use-hubspot-vid-as-a-contact-property/

but I don't dare to run a php-script with my hub-id...

 

Here's more info about the api access to vid: 

https://developers.hubspot.com/docs/methods/contacts/get_contact

But what I want is that the portal shows this as a default contact property. 

 

Best

Oli

jkbaseer
Miembro

Access to unique contact id "vid" in properties

resolver

Hey Guys,

Am not sure whether everyone is going ahead testing via this PHP file method. 

 

I have one question, when the file is stored in public html folder > which means anybody can access that file? can the attackers get the API token in that sense ?

 

 

Or is there anywork around without using the php file? 

0 Me gusta
roisinkirby
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Access to unique contact id "vid" in properties

resolver

@psx the workaround above might be of help!

0 Me gusta
Oliver_Mueller
Participante | Partner
Participante | Partner

Access to unique contact id "vid" in properties

resolver

Hi 

 

No, that's a HubSpot property, a unique contact id, but it is only accessible through api for external use. But I would like to access this HubSpot id through the regular portal. You just have to show the field in the portal, non-editable, then we copy it to a custom property and use it as a personal voucher number. 

 

Does that answer your question?

Best regards

Oli

0 Me gusta