# Tny

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

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

## Actions

### Expand a short link

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

**Inputs**

- Short link (`short_link`, text, required): The Tny short link to expand, for example https://tny.dev/abc123.

**Outputs**

- `long_url` (text)
- `short_link` (text)
- `slug` (text)

**Example output**

```json
{
  "long_url": "https://example.com/my-page",
  "short_link": "https://tny.dev/abc123",
  "slug": "abc123"
}
```

### Shorten a link

Turn a long web address into a short, shareable Tny link.

**Inputs**

- Long URL (`long_url`, text, required): The full web address you want to shorten.

**Outputs**

- `long_url` (text)
- `short_url` (text)
- `slug` (text)

**Example output**

```json
{
  "long_url": "https://example.com/my-page",
  "short_url": "https://tny.dev/abc123",
  "slug": "abc123"
}
```
