Skip to content

Instantly share code, notes, and snippets.

import hashlib
def main():
appSecrect = "dfc56f62-8629-464e-a27a-78ac540c9a2f" # Your app secrect
httpMethod = "POST"
URI = "https://newtest.free.beeceptor.com"
body = '{"vid":101,"canonical-vid":101,"merged-vids":[],"portal-id":99553626,"is-contact":true,"profile-token":"AO_T-mPw8ikhZT_qZeSCiCOYKscY8iTa4M9PtcflhcjTgY-57qr6pPk4TYKa_pBXzuRa6hanDKIdX7qytqQrtghcYK8jpAoztgMkFxALQkh-SD_y4O7RgPOwfWrrsoguDGLy78Owd8UV","profile-url":"https://app.hubspotqa.com/contacts/99553626/contact/101","properties":{"hs_all_accessible_team_ids":{"value":"607","versions":[{"value":"607","source-type":"CALCULATED","source-id":"PermissionsUpdater","source-label":null,"timestamp":1533748392468,"selected":false}]},"hs_email_last_open_date":{"value":"1499975130871","versions":[{"value":"1499975130871","source-type":"EMAIL","source-id":null,"source-label":null,"timestamp":1499975130871,"selected":false}]},"hs_analytics_last_url":{"value":"","versions":[{"value":"","source-type":"ANALYTICS","source-id":"ContactAnalytic