Skip to content

Reference

Bitly

Set up Bitly OAuth for link shortening and click analytics

Connect your users to Bitly for link shortening, click analytics, and link management.

PropertyValue
Provider IDbitly
CategoryBusiness
PKCESupported
Token refreshNot available
Redirect URIShown in Developer Portal

Go to Bitly Developer Settings

Navigate to Bitly Settings > API > OAuth Apps and sign in.

Register a new application

Click Register New Application.

Configure the application

Fill in the application name, link, and description.

Add the redirect URI

Add the Redirect URI from the Developer Portal to the Redirect URIs field.

Get credentials

Copy the Client ID and Client Secret.

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Bitly provider

Go to OAuth Providers > Add Provider > Bitly.

Enter credentials

  • Client ID: Paste your Bitly Client ID
  • Client Secret: Paste your Bitly Client Secret

Save

Click Save. The provider is now active.

  • Bitly does not use scopes. OAuth tokens have full access to the user’s account.
  • Bitly tokens do not expire and cannot be refreshed.
  • See the Bitly OAuth documentation for more details.

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
campaigns/createsendPOST/v4/campaigns
custom-bitlinks/createadmin, writePOST/v4/custom_bitlinks
user/updateadmin, writePATCH/v4/user
webhooks/createadmin, writePOST/v4/webhooks
bitlinks/createwritePOST/v4/bitlinks
bitlinks/updatewritePATCH/v4/bitlinks/{bitlink}
expandwritePOST/v4/expand
qr-codes/createwritePOST/v4/qr-codes
shortenwritePOST/v4/shorten
bitlinks/clicksreadGET/v4/bitlinks/{bitlink}/clicks
bitlinks/clicks-summaryreadGET/v4/bitlinks/{bitlink}/clicks/summary
bitlinks/getreadGET/v4/bitlinks/{bitlink}
bsds/listreadGET/v4/bsds
campaigns/listreadGET/v4/campaigns
groups/bitlinksreadGET/v4/groups/{group_guid}/bitlinks
groups/getreadGET/v4/groups/{group_guid}
groups/listreadGET/v4/groups
organizations/getreadGET/v4/organizations/{organization_guid}
organizations/listreadGET/v4/organizations
qr-codes/getreadGET/v4/qr-codes/{qrcode_id}
user/getreadGET/v4/user
webhooks/getreadGET/v4/webhooks/{webhook_guid}

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.