APIs & Integrations

jpsanchez
Contributor | Elite Partner
Contributor | Elite Partner

Contact Properties clarification need it ;) Thanks!

SOLVE

Hi all, 

 

I´m just in a review of all contact properties and just found that:

 

Nombre: HS_object_id 
Label : Contact ID 
 
This is the  HS key for contacts.  it can be view in Hubspot and not change as is managed by Hubspot. 
 
If i request a contact by the API 
 
Example GET URL:
https
://api.hubapi.com/contacts/v1/contact/vid/3234574/profile?hapikey=demo
Answer:
"
sample of the Example response
:
{
  
"vid": 3234574,
"canonical-vid": 3234574,  
"merged-vids”: “ 
 
The name used is " vid" ,
 
So just for  the record, hs_object_id is equal to vid?   ( why is not the HS_object_id? )
 
Thanks for the clarification! 
JP
😉
 
 
 
0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Contact Properties clarification need it ;) Thanks!

SOLVE

Hi, @jpsanchez.

 

Good question!

 

In the case of a contact record, yes, the hs_object_id is equal to the vid ("visitor ID," a legacy name for a contact ID).

 

The hs_object_id field is just a new CRM object property that reflects the ID of the object type. The company property with the same internal name, for instance, reflects a company ID.

 

Please let me know if I've misunderstood your or can clarify further.

Isaac Takushi

Associate Certification Manager

View solution in original post

1 Reply 1
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Contact Properties clarification need it ;) Thanks!

SOLVE

Hi, @jpsanchez.

 

Good question!

 

In the case of a contact record, yes, the hs_object_id is equal to the vid ("visitor ID," a legacy name for a contact ID).

 

The hs_object_id field is just a new CRM object property that reflects the ID of the object type. The company property with the same internal name, for instance, reflects a company ID.

 

Please let me know if I've misunderstood your or can clarify further.

Isaac Takushi

Associate Certification Manager