As per our conversation on the
a...@bitly.com support list, unless you are building an application where your end users will each have their own Bitly account, you do not need to work with our OAuth API endpoints. Instead, just go to
https://bitly.com/a/oauth_apps, generate your Generic Access Token, and use that token for all your API calls. The token does not expire, though we can expire it manually if you leak your token accidentally.
Sr. Application Engineer