# How to get data if authorized user is patreon and has any tier?

**URL:** <https://www.patreondevelopers.com/t/how-to-get-data-if-authorized-user-is-patreon-and-has-any-tier/3863>\
**Category:** API Feedback\
**Created:** [November 8, 2020, 6:51pm UTC](https://www.patreondevelopers.com/t/how-to-get-data-if-authorized-user-is-patreon-and-has-any-tier/3863 "2020-11-08T18:51:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![malikiz](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@malikiz](https://www.patreondevelopers.com/u/malikiz)\
**Post date:** [November 8, 2020, 6:51pm UTC](https://www.patreondevelopers.com/t/how-to-get-data-if-authorized-user-is-patreon-and-has-any-tier/3863/1 "2020-11-08T18:51:39Z")

</div>

I tried use [https://www.patreon.com/api/oauth2/api/current\_user](https://www.patreon.com/api/oauth2/api/current_user) endpoint, I get **OAuthClientViewForbidden** error

If I use /api/oauth2/v2/identity endpoint to get memberId field to get member using /api/oauth2/v2/members/{id} endpoint I get **Unauthorized** error

These endpoint work’s only if I using Creator access token. But this solution bad work for me, since Creators Access Refresh Token and Creator’s token are constantly updated

This [https://docs.patreon.com/#fetching-a-patron-39-s-profile-info](https://docs.patreon.com/#fetching-a-patron-39-s-profile-info) docs says about getting patron’s profile info, but actually it is about getting the Creator’s profile. Because with a regular user or patron token, this endpoint returns an **OAuthClientViewForbidden** error

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [November 11, 2020, 9:00pm UTC](https://www.patreondevelopers.com/t/how-to-get-data-if-authorized-user-is-patreon-and-has-any-tier/3863/2 "2020-11-11T21:00:51Z")

</div>

To get patron’s info using a non creator access token, you must have gotten the user give permission to you to create a token for it. Otherwise you cant.

> **[Patreon/patreon-php](https://github.com/Patreon/patreon-php)**
>
> Interact with the Patreon API via OAuth. Contribute to Patreon/patreon-php development by creating an account on GitHub.

The php lib has examples on doing that. You can check the code example and the calls there.
