To use the Bitly API, you'll need an OAuth access token to authorize and authenticate the connection to Bitly.
To generate your OAuth access token:
- Click the profile menu.
- Click Settings.
- Click API.
- Enter your Bitly account password.
- Click Generate Token.
- Click Copy to copy the token. If you leave this setting and then access it again, you'll be prompted to enter your password again to view the token.
You can now paste the token into your code or settings to connect via the API.
Protect your token. If it does get exposed to anyone outside your organization, you can always manually disable this one and generate a new one.