Integrations
Bitly
Set up Bitly OAuth for link shortening and click analytics
Overview
Section titled “Overview”Connect the application’s users to Bitly for link shortening, click analytics, and link management.
| Property | Value |
|---|---|
| Provider ID | bitly |
| Category | Business |
| PKCE | Supported |
| Token refresh | Not available |
| Redirect URI | Shown in Developer Portal |
Step 1: Create a Bitly OAuth App
Section titled “Step 1: Create a Bitly OAuth App”Go to Bitly Developer Settings
Log in to Bitly and open Settings → Developer settings → API.
Register a new application
Under Registered OAuth applications, click Register new app. Bitly emails you a registration link — open it to complete the registration.
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 and register the app.
Get credentials
Copy the Client ID and Client Secret shown for the registered application.
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”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 the Bitly Client ID
- Client Secret: Paste the 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.
Policy-cataloged operations
Section titled “Policy-cataloged operations”Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.
| Operation ID | Families | Method | Provider path | Notes |
|---|---|---|---|---|
campaigns/create | send | POST | /v4/campaigns | — |
custom-bitlinks/create | admin, write | POST | /v4/custom_bitlinks | — |
user/update | admin, write | PATCH | /v4/user | — |
webhooks/create | admin, send, write | POST | /v4/webhooks | allowed; its secret is never stored in a payload capture; delivery address in policy parameter oauth_url or url |
bitlinks/create | write | POST | /v4/bitlinks | — |
bitlinks/update | write | PATCH | /v4/bitlinks/{bitlink} | — |
expand | write | POST | /v4/expand | — |
qr-codes/create | write | POST | /v4/qr-codes | — |
shorten | write | POST | /v4/shorten | — |
bitlinks/clicks | read | GET | /v4/bitlinks/{bitlink}/clicks | — |
bitlinks/clicks-summary | read | GET | /v4/bitlinks/{bitlink}/clicks/summary | — |
bitlinks/get | read | GET | /v4/bitlinks/{bitlink} | — |
bsds/list | read | GET | /v4/bsds | — |
campaigns/list | read | GET | /v4/campaigns | — |
groups/bitlinks | read | GET | /v4/groups/{group_guid}/bitlinks | — |
groups/get | read | GET | /v4/groups/{group_guid} | — |
groups/list | read | GET | /v4/groups | — |
organizations/get | read | GET | /v4/organizations/{organization_guid} | — |
organizations/list | read | GET | /v4/organizations | — |
qr-codes/get | read | GET | /v4/qr-codes/{qrcode_id} | — |
user/get | read | GET | /v4/user | — |
webhooks/get | read | GET | /v4/webhooks/{webhook_guid} | — |
createOrganizationBulkUpload | send, write | POST | /v4/organizations/{organization_guid}/bulk_uploads | allowed; its secret is never stored in a payload capture |
getOrganizationBulkUpload | read | GET | /v4/organizations/{organization_guid}/bulk_uploads/{bulk_upload_id} | allowed; its secret is never stored in a payload capture |
getOrganizationBulkUploads | read | GET | /v4/organizations/{organization_guid}/bulk_uploads | allowed; its secret is never stored in a payload capture |
Unreviewed operations
Section titled “Unreviewed operations”These operations are in the provider’s published API specification, but Alter has not reviewed them yet, so their families are unknown. Every operation, family or content rule refuses one with operation_unreviewed unless a rule admits it by name, so a broad rule cannot be dodged by calling one. A rule names one by the provider-qualified name in the first column, never by the bare operation ID, which other providers may share. To use one under a rule, list that name in an operation allowlist to allow it, or in a require_approval rule whose every condition names it to hold it for approval; saving such a rule needs an organization admin. A family never admits one. Because an unreviewed operation may create credentials or change account security, admitting one also needs a scoped credential_minting allowance naming the provider and that name. See Unreviewed operations.
| Name in a rule | Method | Provider path |
|---|---|---|
bitly:GetGroupMetricsByReferrer | GET | /v4/groups/{group_guid}/referrers |
bitly:GetGroupMetricsByReferringNetworks | GET | /v4/groups/{group_guid}/referring_networks |
bitly:addChannelBitlinks | POST | /v4/channels/{channel_guid}/bitlinks |
bitly:applyTemplate | POST | /v4/sites/{site_id}/template |
bitly:cloneSite | POST | /v4/sites/{site_id}/clone |
bitly:createChannel | POST | /v4/channels |
bitly:createContainer | POST | /v4/sites/{site_id}/containers |
bitly:createSite | POST | /v4/sites |
bitly:createSiteBlock | POST | /v4/sites/{site_id}/blocks |
bitly:createSiteImage | POST | /v4/sites/{site_id}/images |
bitly:createStaticQRCodePublic | POST | /v4/qr-codes/static |
bitly:deleteBitlink | DELETE | /v4/bitlinks/{bitlink} |
bitly:deleteQRCode | DELETE | /v4/qr-codes/{qrcode_id} |
bitly:deleteSite | DELETE | /v4/sites/{site_id} |
bitly:deleteSiteBlock | DELETE | /v4/sites/{site_id}/blocks/{block_id} |
bitly:deleteSiteRedirect | DELETE | /v4/sites/{site_id}/redirects/{domain}/{keyword} |
bitly:deleteWebhook | DELETE | /v4/webhooks/{webhook_guid} |
bitly:discardSiteDraft | DELETE | /v4/sites/{site_id}/draft |
bitly:editCustomDomain | PATCH | /v4/custom_domains/{custom_domain} |
bitly:fetchDomainAgreements | GET | /v4/domains/{domain}/agreements |
bitly:getAgenticTrafficForBitlink | GET | /v4/bitlinks/{bitlink}/agentic_traffic |
bitly:getAggregateSiteViewsByCity | GET | /v4/aggregate/sites/views/cities |
bitly:getAggregateSiteViewsByCountry | GET | /v4/aggregate/sites/views/countries |
bitly:getAggregateSiteViewsByDevice | GET | /v4/aggregate/sites/views/devices |
bitly:getAggregateSiteViewsByReferrer | GET | /v4/aggregate/sites/views/referrers |
bitly:getAggregateSiteViewsOverTime | GET | /v4/aggregate/sites/views/over_time |
bitly:getAggregateSitesOverview | GET | /v4/aggregate/sites/overview |
bitly:getCampaign | GET | /v4/campaigns/{campaign_guid} |
bitly:getChannel | GET | /v4/channels/{channel_guid} |
bitly:getChannels | GET | /v4/channels |
bitly:getClicksForCustomBitlink | GET | /v4/custom_bitlinks/{custom_bitlink}/clicks |
bitly:getCustomBitlink | GET | /v4/custom_bitlinks/{custom_bitlink} |
bitly:getCustomBitlinkMetricsByDestination | GET | /v4/custom_bitlinks/{custom_bitlink}/clicks_by_destination |
bitly:getCustomDomain | GET | /v4/custom_domains/{custom_domain} |
bitly:getCustomDomainDNS | GET | /v4/custom_domains/{custom_domain}/dns |
bitly:getCustomDomains | GET | /v4/custom_domains |
bitly:getEngagements | GET | /v4/bitlinks/{bitlink}/engagements |
bitly:getEngagementsSummary | GET | /v4/bitlinks/{bitlink}/engagements/summary |
bitly:getGroupAgenticTrafficRollup | GET | /v4/groups/{group_guid}/agentic_traffic/rollup |
bitly:getGroupClicks | GET | /v4/groups/{group_guid}/clicks |
bitly:getGroupCodeScansByCity | GET | /v4/groups/{group_guid}/codes/scans/cities |
bitly:getGroupCodeScansByCountry | GET | /v4/groups/{group_guid}/codes/scans/countries |
bitly:getGroupCodeScansOverTime | GET | /v4/groups/{group_guid}/codes/scans/over_time |
bitly:getGroupFeatureUsage | GET | /v4/groups/{group_guid}/feature_usage |
bitly:getGroupHistoricalUsage | GET | /v4/groups/{group_guid}/historical_usage |
bitly:getGroupLinkClicksByCity | GET | /v4/groups/{group_guid}/links/clicks/cities |
bitly:getGroupLinkClicksByCountry | GET | /v4/groups/{group_guid}/links/clicks/countries |
bitly:getGroupLinkClicksByDevice | GET | /v4/groups/{group_guid}/links/clicks/devices |
bitly:getGroupLinkClicksByReferrer | GET | /v4/groups/{group_guid}/links/clicks/referrers |
bitly:getGroupLinkClicksOverTime | GET | /v4/groups/{group_guid}/links/clicks/over_time |
bitly:getGroupMetricsByCities | GET | /v4/groups/{group_guid}/cities |
bitly:getGroupMetricsByCountries | GET | /v4/groups/{group_guid}/countries |
bitly:getGroupMetricsByDevices | GET | /v4/groups/{group_guid}/devices |
bitly:getGroupMetricsOverTime | GET | /v4/groups/{group_guid}/engagements/over_time |
bitly:getGroupPreferences | GET | /v4/groups/{group_guid}/preferences |
bitly:getGroupShortenCounts | GET | /v4/groups/{group_guid}/shorten_counts |
bitly:getGroupTags | GET | /v4/groups/{group_guid}/tags |
bitly:getGroupTopCodeScans | GET | /v4/groups/{group_guid}/codes/scans/top |
bitly:getGroupTopLinkClicks | GET | /v4/groups/{group_guid}/links/clicks/top |
bitly:getGroupTopMetrics | GET | /v4/groups/{group_guid}/engagements/top |
bitly:getLaunchpadDigitalBusinessCardDownloadsOverTime | GET | /v4/aggregate/sites/digital_business_card_downloads/over_time |
bitly:getLinkPerformanceForSite | GET | /v4/sites/{site_id}/link_performance |
bitly:getMetricsForBitlinkByCities | GET | /v4/bitlinks/{bitlink}/cities |
bitly:getMetricsForBitlinkByCountries | GET | /v4/bitlinks/{bitlink}/countries |
bitly:getMetricsForBitlinkByDevices | GET | /v4/bitlinks/{bitlink}/devices |
bitly:getMetricsForBitlinkByReferrerName | GET | /v4/bitlinks/{bitlink}/referrer_name |
bitly:getMetricsForBitlinkByReferrers | GET | /v4/bitlinks/{bitlink}/referrers |
bitly:getMetricsForBitlinkByReferrersByDomains | GET | /v4/bitlinks/{bitlink}/referrers_by_domains |
bitly:getMetricsForBitlinkByReferringDomains | GET | /v4/bitlinks/{bitlink}/referring_domains |
bitly:getMetricsForSiteByCities | GET | /v4/sites/{site_id}/cities |
bitly:getMetricsForSiteByDevices | GET | /v4/sites/{site_id}/devices |
bitly:getMetricsForSiteByReferrers | GET | /v4/sites/{site_id}/referrers |
bitly:getMetricsForSitesByCountries | GET | /v4/sites/{site_id}/countries |
bitly:getOAuthApp | GET | /v4/apps/{client_id} |
bitly:getOrganizationShortenCounts | GET | /v4/organizations/{organization_guid}/shorten_counts |
bitly:getOrganizationShortenCountsByGroup | GET | /v4/organizations/{organization_guid}/shorten_counts_by_group |
bitly:getPlanLimits | GET | /v4/organizations/{organization_guid}/plan_limits |
bitly:getPlatformLimits | GET | /v4/user/platform_limits |
bitly:getQRCodeImagePublic | GET | /v4/qr-codes/{qrcode_id}/image |
bitly:getScanMetricsForQRCode | GET | /v4/qr-codes/{qrcode_id}/scans |
bitly:getScanMetricsForQRCodeByBrowser | GET | /v4/qr-codes/{qrcode_id}/scans/browsers |
bitly:getScanMetricsForQRCodeByCities | GET | /v4/qr-codes/{qrcode_id}/scans/cities |
bitly:getScanMetricsForQRCodeByCountries | GET | /v4/qr-codes/{qrcode_id}/scans/countries |
bitly:getScanMetricsForQRCodeByDevicesOS | GET | /v4/qr-codes/{qrcode_id}/scans/device_os |
bitly:getScanMetricsSummaryForQRCode | GET | /v4/qr-codes/{qrcode_id}/scans/summary |
bitly:getSite | GET | /v4/sites/{site_id} |
bitly:getSiteClicksByCities | GET | /v4/aggregate/sites/clicks/cities |
bitly:getSiteClicksByCountries | GET | /v4/aggregate/sites/clicks/countries |
bitly:getSiteClicksByDevices | GET | /v4/aggregate/sites/clicks/devices |
bitly:getSiteClicksOverTime | GET | /v4/aggregate/sites/clicks/over_time |
bitly:getSiteFilteredTopPageButtons | GET | /v4/aggregate/sites/clicks/top |
bitly:getSitesForGroup | GET | /v4/groups/{group_guid}/sites |
bitly:getSortedBitlinks | GET | /v4/groups/{group_guid}/bitlinks/{sort} |
bitly:getTemplates | GET | /v4/site_templates |
bitly:getTopLinksAndQRCodesByEngagements | GET | /v4/groups/{group_guid}/engagements/sorted/top |
bitly:getViewsForSite | GET | /v4/sites/{site_id}/views |
bitly:getViewsSummaryForSite | GET | /v4/sites/{site_id}/views/summary |
bitly:getWebhooks | GET | /v4/organizations/{organization_guid}/webhooks |
bitly:listQRMinimal | GET | /v4/groups/{group_guid}/qr-codes |
bitly:postCreateGroupExport | POST | /v4/groups/{group_guid}/exports |
bitly:prevalidateYouTubeVideoButton | POST | /v4/sites/{launchpad_id}/buttons/youtubeVideo/prevalidate |
bitly:publishSite | POST | /v4/sites/{site_id}/publish |
bitly:purchaseBsd | POST | /v4/domains |
bitly:redirectQRCodeDestination | PATCH | /v4/qr-codes/{qrcode_id}/redirect |
bitly:searchAvailableDomains | GET | /v4/domains |
bitly:updateBitlinksByGroup | PATCH | /v4/groups/{group_guid}/bitlinks |
bitly:updateCampaign | PATCH | /v4/campaigns/{campaign_guid} |
bitly:updateChannel | PATCH | /v4/channels/{channel_guid} |
bitly:updateCustomBitlink | PATCH | /v4/custom_bitlinks/{custom_bitlink} |
bitly:updateGroup | PATCH | /v4/groups/{group_guid} |
bitly:updateGroupPreferences | PATCH | /v4/groups/{group_guid}/preferences |
bitly:updateQRCodePublic | PATCH | /v4/qr-codes/{qrcode_id} |
bitly:updateQRCodesByGroup | PATCH | /v4/groups/{group_guid}/qr-codes |
bitly:updateSite | PATCH | /v4/sites/{site_id} |
bitly:updateSiteAppearance | PUT | /v4/sites/{site_id}/appearance |
bitly:updateSiteBlock | PATCH | /v4/sites/{site_id}/blocks/{block_id} |
bitly:updateWebhook | PATCH | /v4/webhooks/{webhook_guid} |
bitly:upgradeQRCodeToBitlink | PUT | /v4/qr-codes/{qrcode_id}/to-bitlink |
bitly:validateCustomDomain | POST | /v4/custom_domains |
bitly:verifyWebhook | POST | /v4/webhooks/{webhook_guid}/verify |