This article explains how to use the Bitly API to redirect a link — that is, to update a Bitly link's destination URL (Long URL).
To redirect a link with the API
To redirect a link (i.e., to update the Long URL), send a PATCH request to /v4/bitlinks/{bitlink} and include the long_url parameter with the new destination URL:
{
"long_url": "https://www.newdestination.com"
}
For full request details and response schema, see the Update a Bitlink API reference.
The Bitly link now points to the new destination URL. Anyone who clicks the link will be sent to the updated destination.
Redirects and your monthly limits
Your monthly limits apply to links created and redirected through the API. Each subscription plan has a different monthly limit for redirects. Redirecting a link will consume 1 Link redirect towards your monthly limit but will not consume a Short Link. You can view your current usage and limits on the Billing and Usage page in your account settings.
Some plans allow you to purchase additional links and redirects.