# What SCOPE do i need for the communication-preferences API

**URL:** <https://community.hubspot.com/t/what-scope-do-i-need-for-the-communication-preferences-api/28654>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [December 2, 2020, 10:53am UTC](https://community.hubspot.com/t/what-scope-do-i-need-for-the-communication-preferences-api/28654 "2020-12-02T10:53:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigwhaleinvesto](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bigwhaleinvesto/32/29368_2.png) [@bigwhaleinvesto](https://community.hubspot.com/u/bigwhaleinvesto)\
**Post date:** [December 2, 2020, 10:53am UTC](https://community.hubspot.com/t/what-scope-do-i-need-for-the-communication-preferences-api/28654/1 "2020-12-02T10:53:21Z")

</div>

Hi, i’m trying to use the marketing api to view and update subscriptions for my contacts.

For example the url:

**[https://api.hubapi.com/communication-preferences/v3/definitions](https://api.hubapi.com/communication-preferences/v3/definitions)**

But i keep getting the MISSING\_SCOPES error (“This app hasn’t been granted all required scopes to make this call”).

And i can’t seem to find any scopes in the list ([Working with OAuth - HubSpot docs](https://developers.hubspot.com/docs/api/working-with-oauth#scopes)) that corresponds to this API.

I currently have enabled:

`"contacts content forms e-commerce"`

and i have tried a few others that i found plausible.

Anyone know what scope i’m missing here to use this API? 😃

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [December 2, 2020, 10:37pm UTC](https://community.hubspot.com/t/what-scope-do-i-need-for-the-communication-preferences-api/28654/2 "2020-12-02T22:37:33Z")

</div>

Hey @bigwhaleinvesto

According to the [docs](https://developers.hubspot.com/docs/api/marketing-api/subscriptions-preferences) that endpoint does not have a required scope which is a little suspicious 🤔

Going to ask around about that. The v1 endpoint required the content scope.

When you added scopes, did you reapprove in your portal?

@MichaelC , @IvanGil , @Hanta have any of you looked at this before?

---

<div class="post-metadata">

**Author:** ![bigwhaleinvesto](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bigwhaleinvesto/32/29368_2.png) [@bigwhaleinvesto](https://community.hubspot.com/u/bigwhaleinvesto)\
**Post date:** [December 3, 2020, 7:50am UTC](https://community.hubspot.com/t/what-scope-do-i-need-for-the-communication-preferences-api/28654/3 "2020-12-03T07:50:41Z")

</div>

Thanks for the tip on the v1 endpoint! 😀 That one worked and solves my problem.

I see that some of the v3 endpoints are still beta, so i’m guessing this might be a thing that’s still a bit in the works.

I think i’ll leave this thread open, in case someone has some more input on what was wrong

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [December 4, 2020, 7:59pm UTC](https://community.hubspot.com/t/what-scope-do-i-need-for-the-communication-preferences-api/28654/4 "2020-12-04T19:59:34Z")

</div>

Heyo @bigwhaleinvesto,

After beating my head on this, I have come to discover that OAuth is not defined as an authorization method for this endpoint :facepalm

---

<div class="post-metadata">

**Author:** ![TDroogh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tdroogh/32/35493_2.png) [@TDroogh](https://community.hubspot.com/u/TDroogh)\
**Post date:** [April 21, 2021, 11:01am UTC](https://community.hubspot.com/t/what-scope-do-i-need-for-the-communication-preferences-api/28654/5 "2021-04-21T11:01:43Z")

</div>

@dennisedson Are there any plans to add OAuth support for this API?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [April 21, 2021, 6:31pm UTC](https://community.hubspot.com/t/what-scope-do-i-need-for-the-communication-preferences-api/28654/6 "2021-04-21T18:31:45Z")

</div>

@TDroogh , Yes! It is being worked on presently. Just a few things to iron out

---

<div class="post-metadata">

**Author:** ![dvanbrunt](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dvanbrunt/32/18373_2.png) [@dvanbrunt](https://community.hubspot.com/u/dvanbrunt)\
**Post date:** [November 8, 2022, 7:05pm UTC](https://community.hubspot.com/t/what-scope-do-i-need-for-the-communication-preferences-api/28654/7 "2022-11-08T19:05:05Z")

</div>

Did someone mention what IS the scope needed for v3 of `api.hubapi.com/communication-preferences`
