We need to incorporate HubSpot's email syntax into our own API. For this to work we require a unique id for each customer / contact. From doing a lot of reading online I think this variable is called vid.
However, when I create and send a test email via Portal > Content > Email - if you enter {{ vid }} or {{ contacts.vid }} it does not get replaced in the same way as {{ contacts.FIRSTNAME }} would populate the email with a firstname in place of the variable. This indicates that vid might not be the variable I am after.
Does anyone have any idea what the syntax that I require is called? I looked at the source code for the test email but it didn't give me any useful information.
I also require a unique id for each run of an email newsletter - I think this is called campaign_id but as before entering this into the test email didn't do anything.
Any help would be massively appreciated, I have Googled this to death but I think I must be missing something as even with all the HubSpot documentation that is available I can not find out what I'm after!
Thanks