# Which url api should I fetch to get latest patron\_status?

**URL:** <https://www.patreondevelopers.com/t/which-url-api-should-i-fetch-to-get-latest-patron-status/2574>\
**Category:** Friendly Help\
**Created:** [January 7, 2020, 1:11am UTC](https://www.patreondevelopers.com/t/which-url-api-should-i-fetch-to-get-latest-patron-status/2574 "2020-01-07T01:11:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpfernandezl](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/jpfernandezl/32/1144_2.png) [@jpfernandezl](https://www.patreondevelopers.com/u/jpfernandezl)\
**Post date:** [January 7, 2020, 1:11am UTC](https://www.patreondevelopers.com/t/which-url-api-should-i-fetch-to-get-latest-patron-status/2574/1 "2020-01-07T01:11:45Z")

</div>

Hello,

How can I get the latest patron\_status for a user, please?  
I already have a token for the user, what should I query with that token next to get the patron\_status?

patron\_status can be null or one of the following values: `active_patron` , `declined_patron` , `former_patron`. I need to get that from the api, how can I do it please?

Thanks a lot,

---

<div class="post-metadata">

**Author:** ![jpfernandezl](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/jpfernandezl/32/1144_2.png) [@jpfernandezl](https://www.patreondevelopers.com/u/jpfernandezl)\
**Post date:** [January 14, 2020, 5:02am UTC](https://www.patreondevelopers.com/t/which-url-api-should-i-fetch-to-get-latest-patron-status/2574/2 "2020-01-14T05:02:14Z")

</div>

Please help me here.

---

<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:** [January 14, 2020, 10:28pm UTC](https://www.patreondevelopers.com/t/which-url-api-should-i-fetch-to-get-latest-patron-status/2574/3 "2020-01-14T22:28:18Z")

</div>

> [@jpfernandezl](#):
>
> `declined_patron`

You can just examine the examples in any Patreon library or read API documentation to see some examples:

[https://docs.patreon.com/#get-api-oauth2-v2-members-id](https://docs.patreon.com/#get-api-oauth2-v2-members-id)

The call on the right gets you status of a patron.

This PHP example shows how to get details of a logged in user when you are using the user’s access token.

> <https://github.com/Patreon/patreon-php/blob/master/examples/user_details_and_patronage.php>

If you want to mass-process user info, you can get your campaign info, then get members and then iterate each member to get their info. PHP API class has functions to do that - you can also use those as examples to make your own functions.

> <https://github.com/Patreon/patreon-php/blob/master/src/API.php>
