Note that you can't use the developer hapikey to create events. This is because the developer hapikey is only for setting up event-types from your development portal. To create an event for a HubSpot portal, that portal will need to grant access to your application via OAuth. Using our OAuth flow you'll need to obtain an access token for a portal and use that to add events to that portal's contacts