Lists, Lead Scoring & Workflows

Oliver_Mueller
Participant | Partenaire solutions
Participant | Partenaire solutions

Access to unique contact id "vid" in properties

Résolue

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 Solution acceptée
Oliver_Mueller
Solution
Participant | Partenaire solutions
Participant | Partenaire solutions

Access to unique contact id "vid" in properties

Résolue

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

Voir la solution dans l'envoi d'origine

6 Réponses
Dean123
Participant

Access to unique contact id "vid" in properties

Résolue

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
Gestionnaire de communauté
Gestionnaire de communauté

Access to unique contact id "vid" in properties

Résolue

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 Votes
Oliver_Mueller
Solution
Participant | Partenaire solutions
Participant | Partenaire solutions

Access to unique contact id "vid" in properties

Résolue

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
Membre

Access to unique contact id "vid" in properties

Résolue

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 Votes
roisinkirby
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Access to unique contact id "vid" in properties

Résolue

@psx the workaround above might be of help!

0 Votes
Oliver_Mueller
Participant | Partenaire solutions
Participant | Partenaire solutions

Access to unique contact id "vid" in properties

Résolue

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 Votes