Rebrandly URL Shortener API
In this article, we will go over how to register a Rebrandly account and obtain an API Key for the Rebrandly URL Shortener API . Afterward, we’ll use this information to successfully navigate through JavaScript: Requests!
To register for a free Rebrandly account, go to the Rebrandly site. Then click “Create a new account”.
You’ll be directed to a page that looks like:

You can sign up using your email address or through Twitter, Facebook, or Google. If you register through email, log into your email account and verify your email. If you register using another account, you will be prompted to login to that account.
After you’ve registered, you’ll have access to Rebrandly’s dashboard:

In the top right hand corner is your account icon, click it and a menu will appear:

From the drop down menu, click on “Account settings” and you will see there will be a pop up. Select the tab “API keys” to see:

Click on the button “Generate new API key”. A successful creation will look like:

Wonderful! Now you can use this newly created API key. Please note that your API key is unique to your account so you should keep it safe and do not share it with anyone! However, you can use your API key to interact with the Rebrandly API — think about what you can make!
'The Codecademy Team, composed of experienced educators and tech experts, is dedicated to making tech skills accessible to all. We empower learners worldwide with expert-reviewed content that develops and enhances the technical skills needed to advance and succeed in their careers.'
Meet the full teamRelated articles
- Article
How to Create and Use an OpenAI ChatGPT API Key
Learn what an API key is and how to create your OpenAI ChatGPT API key with this step-by-step guide, which includes code examples and security tips. - Article
How to Set Up a Github Account
Learn how to set up a Github Account. - Article
How to Setup a ChatGPT Account
A step-by-step tutorial on how to set up a ChatGPT account
Learn more on Codecademy
- Learn how to develop APIs using Swagger tooling and the OpenAPI specification.
- With Certificate
- Intermediate.< 1 hour
- Explore OpenAI’s API and learn how to write more effective generative AI prompts that help improve your results.
- Beginner Friendly.< 1 hour
- Leverage the OpenAI API within your Python code. Learn to import OpenAI modules, use chat completion methods, and craft effective prompts.
- With Certificate
- Intermediate.1 hour