We updated Bitly's navigation menu in September, 2022!
If you're used to the old look, check out the changes.
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:
- Log in to Bitly.
- 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.