# Get Events API permissions

**URL:** <https://community.hubspot.com/t/get-events-api-permissions/15697>\
**Category:** APIs & Integrations\
**Tags:** events\
**Created:** [August 9, 2019, 6:40pm UTC](https://community.hubspot.com/t/get-events-api-permissions/15697 "2019-08-09T18:40:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benchmark\_achen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benchmark_achen/32/2401_2.png) [@Benchmark\_achen](https://community.hubspot.com/u/Benchmark_achen)\
**Post date:** [August 9, 2019, 6:40pm UTC](https://community.hubspot.com/t/get-events-api-permissions/15697/1 "2019-08-09T18:40:15Z")

</div>

Hi,

I’m trying to get the Events records from Hubspot into our database using API: [https://api.hubapi.com/reports/v2/events](https://api.hubapi.com/reports/v2/events)

It errors out with the following messages:

Response Url: [https://api.hubapi.com/reports/v2/events](https://api.hubapi.com/reports/v2/events)

Status Code: Forbidden

“status”:“error”,“message”:“This oauth-token (token) does not have proper permissions! (requires all of [event-analytics-api-access])”,“correlationId”:“d5d1e5f3-ecc2-4074-a8f2-2cea4aec4301”,“requestId”:“fef99da62bc155419d1a587f554ae982”

What permissions or scopes do I need to set in order to make this work?

Thanks,

Allan

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [August 9, 2019, 7:00pm UTC](https://community.hubspot.com/t/get-events-api-permissions/15697/2 "2019-08-09T19:00:10Z")

</div>

Hello [@Benchmark\_achen](https://community.hubspot.com/t5/user/viewprofilepage/user-id/94325)  
please try to use scope of business-intelligence while having oauth with HubSpot and then make use of access token for this api call.  
Thanks

---

<div class="post-metadata">

**Author:** ![Benchmark\_achen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benchmark_achen/32/2401_2.png) [@Benchmark\_achen](https://community.hubspot.com/u/Benchmark_achen)\
**Post date:** [August 9, 2019, 8:13pm UTC](https://community.hubspot.com/t/get-events-api-permissions/15697/3 "2019-08-09T20:13:08Z")

</div>

That solved the problem! I added business-intelligence to the oauth scope and in our app.

Thank you!

--Allan
