# U301

U301 provides an API to manage all U301 resources, currently under development.

- **Category:** url shortener
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 3
- **Triggers:** 0
- **Slug:** `U301`
- **Version:** 20260223_00

## Tools

### Delete a shortened link

**Slug:** `U301_DELETE_LINK`

Tool to delete a shortened link by its link identifier. Use when you need to remove a shortened link from the system.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `link` | string | Yes | The shortened link identifier to delete. Format: domain/code (e.g., 'u301.co/tA82') |

#### 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 available domains for URL shortening

**Slug:** `U301_LIST_SHORTEN_DOMAINS`

Tool to list available domains for URL shortening, including public domains and custom domains. Use when you need to see what domains are available for creating short links. Supports pagination and filtering by visibility type.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Current page number |
| `per_page` | integer | No | Results per page, range: 1-500 |
| `visibility` | string ("public" | "private" | "all") | No | Enum for domain visibility types. |

#### 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 a long URL

**Slug:** `U301_SHORTEN_LINK`

Tool to shorten a long URL into a compact short link. Use after obtaining the long URL when you need a shareable link.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | The long URL to be shortened. Must start with a valid schema (http:// or https://) |
| `slug` | string | No | Custom alias for the short link. Must be unique and only contain letters, numbers, underscores (_), and hyphens (-) |
| `title` | string | No | The title of the link |
| `domain` | string | No | Domain to use for the short URL. You can list available domains using the list domains endpoint |

#### 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 |
