Skip to content

Instantly share code, notes, and snippets.

@HubSpotHanevold
Created September 25, 2024 16:09
Show Gist options
  • Save HubSpotHanevold/66dcb483996a4429cd4a9d6713254dd9 to your computer and use it in GitHub Desktop.
Save HubSpotHanevold/66dcb483996a4429cd4a9d6713254dd9 to your computer and use it in GitHub Desktop.
import requests
url = "api.hubspot.com/events/v3/events/?objectType=contact&objectId=52054635672"
payload = ""
headers = {
'Authorization': '••••••'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment