DEVELOPER DocumentationAPI Reference Start Now Getting Started Introduction Authentication Rate Limits Troubleshooting & Tips Migrating from V3 Tutorials Create a Test Account Shorten & Customize Links Retrieve Metrics Create a Webhook Integrate Bitly in Your App SDKs OpenAPI 3.0 Android SDK iOS SDK The Bitly API Bitly is the most widely trusted link management platform in the world. By using the Bitly API, you will exercise the full power of your links through automated link customization, mobile deep linking, and click analytics. Ready to jump right in? See the API reference for all endpoints. While shortening links is Bitly’s most basic functionality, our customers create and distribute links at scale via integrated apps and SMS by utilizing the Bitly API. What you need to get started Product knowledge. Check out our Help Center for basics. Our glossary article will come in handy when communicating with end-users, since some terminology in the UI is abbreviated on the backend. The two most common (and their API translations) are shortened links (Bitlinks) and custom domains (Branded Short Domains, or BSDs). A Bitly account. Have access to an account and check your plan's link limits. You’ll find more details on these and other topics as you navigate this developer site, so let's dive in! Shorten your first link! Generate an access token. You'll use the POST method to the /v4/shorten endpoint. Append your access token as a header in your request. Here's an example: Authorization: Bearer {token}. POST https://api-ssl.bitly.com/v4/shorten { "group_guid": "Ba1bc23dE4F", "domain": "bit.ly", "long_url": "https://dev.bitly.com/" } A successful response will return the shortened link in the link object. Go to our API reference to view all available endpoints. Resources Blog Webinar and Ebooks Legal Privacy Policy Terms of Service Company Careers Contact © 2020 Bitly Handmade in NYC, San Francisco, Denver, and all over the world.