# Bitly

> Create short links with Bitly and look up where existing short links lead.

App · Links and QR Codes · 2 actions. Web page: https://docs.lodol.com/docs/integrations/bitly

## Actions

### Expand a short link

Expand a Bitly short link into its original long web address.

**Inputs**

- Short link (`short_link`, text, required): The Bitly short link to expand, for example bit.ly/abc123.

**Outputs**

- `id` (text)
- `link` (text)
- `long_url` (text)

**Example output**

```json
{
  "id": "bit.ly/3xExAmp",
  "link": "https://bit.ly/3xExAmp",
  "long_url": "https://example.com/my-page"
}
```

### Shorten a link

Turn a long web address into a short, shareable Bitly link. You can optionally save a title to help you find the link later.

**Inputs**

- Long URL (`long_url`, text, required): The full web address you want to shorten, for example https://example.com/my-page.
- Title (`title`, text): Optional. A label to help you recognize this link later in Bitly, for example "Spring sale landing page".

**Outputs**

- `id` (text)
- `link` (text)
- `long_url` (text)
- `title` (text)

**Example output**

```json
{
  "id": "bit.ly/3xExAmp",
  "link": "https://bit.ly/3xExAmp",
  "long_url": "https://example.com/my-page",
  "title": "Spring sale landing page"
}
```
