# L2s

L2S is a professional URL shortener offering advanced analytics, QR code generation, and team collaboration features.

- **Category:** url shortener
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 4
- **Triggers:** 0
- **Slug:** `L2S`
- **Version:** 20260211_00

## Tools

### Get URL Details

**Slug:** `L2S_GET_URL_DETAILS`

Tool to retrieve details of a shortened URL. Use when you need metadata about a specific shortened link. Use after obtaining a valid URL ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Unique identifier of the shortened URL |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get User Settings

**Slug:** `L2S_L2_S_GET_USER_SETTINGS`

Tool to retrieve current user's settings. Use after authentication to fetch email, notification, and appearance preferences.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Shortened URLs

**Slug:** `L2S_L2_S_LIST_URLS`

Tool to list all shortened URLs. Use after user authentication to retrieve the user's URLs with pagination details.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Shorten URL with L2S

**Slug:** `L2S_L2_S_SHORTEN_URL`

Tool to shorten a given long URL. Use when you need a concise link representation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | The long URL to be shortened. |
| `tags` | array | No | Tags associated with the shortened URL. |
| `title` | string | No | Title for the shortened URL. |
| `utmTerm` | string | No | UTM term parameter. |
| `customKey` | string | No | Custom alias for the shortened URL. |
| `utmMedium` | string | No | UTM medium parameter. |
| `utmSource` | string | No | UTM source parameter. |
| `utmContent` | string | No | UTM content parameter. |
| `utmCampaign` | string | No | UTM campaign parameter. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
