Short Links

Short links you can repoint, checked before every redirect.

Create a link from the console or the REST API, share it, and change where it points later without reissuing it. Every click is logged with browser, device and location, and destinations are checked when you save them and again when someone clicks.

Your app is an organization in BuildBase. Your users sign in and work inside workspaces - one per team or customer.

You set up

In the console and the SDK

  • A short link for any page, in the console or from your server
  • Where it points - and you can change that later
  • Archive a link when you are done with it

You get

For you and your team

  • Links you can change after they are shared
  • A count of every click, with device and location
  • Harmful destinations stopped before anyone reaches them

Links you can change after you send them

Create a link once and share it anywhere. You still decide where it goes, and a bad destination gets stopped.

Change Where It Points

Update a link's destination and every copy already shared follows it. The short link itself never changes.

Every Click Counted

Each click is logged with browser, device and location before the visitor is sent on.

Clicks Over Time

A chart for one link or all of them, next to the list of clicks.

Checked When Saved

Only web addresses are accepted, and destinations known to be harmful can be refused before they are saved.

Checked When Clicked

Destinations can be checked again at click time, and a harmful one shows a warning instead.

Blocked Everywhere

A destination found to be harmful is blocked in every link, including links in emails already sent.

Create one with a POST, repoint it with a PATCH

Short links are API-first. There is no SDK method, so call the REST API with an org token from your backend.

scripts/create-link.tsTSX
const res = await fetch('https://api.console.buildbase.app/api/links', {
  method: 'POST',
  headers: {
    Authorization: process.env.BUILDBASE_TOKEN!,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'Launch announcement',
    url: 'https://example.com/launch',
  }),
});

const link = await res.json();
// Share https://api.console.buildbase.app/api/r/<linkId>
console.log(link.linkId);
scripts/repoint-link.tsTSX
// Every copy of the short URL already shared now lands here.
await fetch(`https://api.console.buildbase.app/api/links/${link._id}`, {
  method: 'PATCH',
  headers: {
    Authorization: process.env.BUILDBASE_TOKEN!,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ url: 'https://example.com/launch-v2' }),
});

Frequently Asked Questions

What people ask about Links.

Do my users see this?

Anyone who clicks a link does, briefly, on the way to its destination. Creating and managing links is for your team.

Can I use my own domain or choose the link text?

No. Links use the BuildBase API address and a generated id.

Are clicks unique visitors?

No. Every click is counted, with no bot filtering or deduplication, so compare the numbers with each other rather than reading them as people.

What happens when I archive a link?

It stops redirecting, and its click history is kept.

Create your first short link

Open Links in the console, paste a destination and copy the short URL. Or create it from your backend with one POST.

7-day free trialNo credit card requiredCancel anytime