# API authorization in python

**URL:** <https://forum.asana.com/t/api-authorization-in-python/82500>\
**Category:** API & Developers\
**Created:** [5 May 2020 14:04 UTC](https://forum.asana.com/t/api-authorization-in-python/82500 "2020-05-05T14:04:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Peter\_Bowmar](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/peter_bowmar/32/53742_2.png) [@Peter\_Bowmar](https://forum.asana.com/u/Peter_Bowmar)\
**Post date:** [6 May 2020 15:06 UTC](https://forum.asana.com/t/api-authorization-in-python/82500/3 "2020-05-06T15:06:08Z")

</div>

Hi @anon65155295 I have exactly the same issue (see [OAuth avoid user interaction?](https://forum.asana.com/t/oauth-avoid-user-interaction/81281))

After much reading it appears the Refresh token is the way to go. I can’t use a Personal since this is an end-user tool so each user needs to access on their own merits.

Sadly I can’t find examples of dealing with the Refresh token via the Python API.

There is this: [Get refresh token - #12 by Matt\_Bramlage](https://forum.asana.com/t/get-refresh-token/19916/12)

which is exactly what I (and likely you) are hoping to do 🙂

Cheers,

Peter B

---

_[View the full topic](https://forum.asana.com/t/api-authorization-in-python/82500)._
