Range of contact vid


Can the contact vid be 0? What is the max value vid can be? I am trying to catch these errors before querying HubSpot, it would be helpful to know what to check for!


Hi @Drake1029, happy to help. We don't have a max length or max value set for the contact vid, but unless your CRM is massive, you shouldn't exceed any more than 10 total digits. These IDs are randomly generated proportional to the number of contacts/companies you have. As an example, a company I worked with recently had over 13,000,000 contacts and their vids reached 10 digits.


Hi, Can i have my own vid ? I want to migrate to Hubspot but i want to keep my id's. thanks for help.


Hi @morsi, you cannot override the vid with your own since HubSpot automatically generates the vid but does not allow it to be change. However, you can create a custom property on your contacts called vid or id that stores the ID values from your system instead of the vid that HubSpot generates for you.