Unable to use Behavioural Events APIs

Hi all,

I’m trying to use a beta API at: https://api.hubspot.com/events/v3/send (docs: Accounts Dashboard | HubSpot)

The API documentation claims that no scopes are required, but when I attempt to make a POST event to the API, according to the docs, I get the following error:

The scope needed for this API call isn’t available for public use. If you have questions, contact support or post in our developer forum.

Is it the case that I need to do something special to get access to this scope on my developer account? I tried the `crm.objects.marketing_events.read` and `crm.objects.marketing_events.write` scopes, but that didn’t seem to make anything better.

@jpalawaga

This endpoint only accepts HAPIKEY auth at this time.

Ahh--I didn’t see that. When I use an API Key, the endpoint seems to work fine. Thank you for your help!

This is a little inconvenient as it requires our customers to supply us with an API key for their account (even though they’ve logged in with OAuth).

Is OAuth support for this endpoint in the works? Some customers may not wish to provide us with full, unfettered access to their account.

@jpalawaga ,

Totally agree. I am sure that there will be OAuth added to this API. We also prefer users not using hapikey when possible!