# Check if user is a member of a campaign

**URL:** <https://www.patreondevelopers.com/t/check-if-user-is-a-member-of-a-campaign/6669>\
**Category:** Uncategorized\
**Created:** [December 14, 2022, 5:37pm UTC](https://www.patreondevelopers.com/t/check-if-user-is-a-member-of-a-campaign/6669 "2022-12-14T17:37:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![quantux](https://avatars.discourse-cdn.com/v4/letter/q/ebca7d/32.png) [@quantux](https://www.patreondevelopers.com/u/quantux)\
**Post date:** [December 14, 2022, 5:37pm UTC](https://www.patreondevelopers.com/t/check-if-user-is-a-member-of-a-campaign/6669/1 "2022-12-14T17:37:13Z")

</div>

I’d like to know how I could check if an user is a member of a certain campaign.

Consider a creator user A and a patron user B,  
Is there any way to check if user B is a patron of user A, using user B’s access\_token?

Thanks in advance

---

<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:** [December 15, 2022, 4:29am UTC](https://www.patreondevelopers.com/t/check-if-user-is-a-member-of-a-campaign/6669/2 "2022-12-15T04:29:20Z")

</div>

Yes, if you asked the memberships scope during the creation of the access\_token.

---

<div class="post-metadata">

**Author:** ![quantux](https://avatars.discourse-cdn.com/v4/letter/q/ebca7d/32.png) [@quantux](https://www.patreondevelopers.com/u/quantux)\
**Post date:** [December 15, 2022, 4:39pm UTC](https://www.patreondevelopers.com/t/check-if-user-is-a-member-of-a-campaign/6669/3 "2022-12-15T16:39:23Z")

</div>

Ok, thanks for the reply, @codebard.  
I’d like to ask another question

Can I get the pledge history of specific user in a campaign of another creator?

For exemple, consider patron A and creator B that created a campaign with id “xyz”.  
I need to access the pledge history of patron A from campaign “xyz” but using patron A access\_token

Which endpoint I need to use?

---

<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:** [December 17, 2022, 2:35am UTC](https://www.patreondevelopers.com/t/check-if-user-is-a-member-of-a-campaign/6669/4 "2022-12-17T02:35:14Z")

</div>

Yes you can, but you must have the correct permissions and scopes.for that creator’s campaign. You can do that by having the creator authorize your app and getting a token with the correct scopes/permissions.

[https://docs.patreon.com/#get-api-oauth2-v2-campaigns-campaign\_id-members](https://docs.patreon.com/#get-api-oauth2-v2-campaigns-campaign_id-members)

…is the endpoint that you would need to use.
