# URL BOT

> Create and manage URL BOT short links and see how often people click them.

App · 9 actions. Web page: https://docs.lodol.com/docs/integrations/urlbot

## Actions

### Create link

Create a short link to a web address.

**Inputs**

- Destination URL (`url`, text, required): The web address the short link sends people to.
- Short code (`alias`, text): The short code to use, with letters, numbers, hyphens and underscores, up to 64. Leave empty for URL BOT to make one.
- Tags (`tags`, list): Tags for the link, up to 8. URL BOT lower-cases them and joins words with hyphens.
- Expires at (`expires_at`, date and time): When the link stops working. Leave empty for never.
- Password (`password`, text): A password people must enter before they are sent on. Leave empty for none.
- Custom domain ID (`domain_id`, text): The ID of one of your custom domains to put the link on. Leave empty for urlbot.cc.

**Outputs**

- `data` (object): The response from URL BOT.

**Example output**

```json
{
  "data": {
    "data": {
      "available": true,
      "click_count": 0,
      "created_at": "2026-08-01T09:12:44Z",
      "domain": "go.example.com",
      "expires_at": "2026-12-31T23:59:00Z",
      "has_password": true,
      "id": 412,
      "is_active": true,
      "original_url": "https://example.com/spring-campaign",
      "short_code": "spring26",
      "short_url": "https://urlbot.cc/spring26",
      "status": "active",
      "tags": [
        "campaign"
      ]
    }
  }
}
```

### Create links in bulk

Create up to 100 short links at once; each one succeeds or fails on its own.

**Inputs**

- Links (`links`, list, required): The links to create, from 1 to 100. Give each a url, and optionally an alias, tags (comma-separated), expires_at, password or domain_id.

**Outputs**

- `data` (object): The response from URL BOT.

**Example output**

```json
{
  "data": {
    "created": 1,
    "failed": 0,
    "results": [
      {
        "created": true,
        "data": {
          "available": true,
          "click_count": 0,
          "created_at": "2026-08-01T09:12:44Z",
          "domain": "go.example.com",
          "expires_at": "2026-12-31T23:59:00Z",
          "has_password": true,
          "id": 412,
          "is_active": true,
          "original_url": "https://example.com/spring-campaign",
          "short_code": "spring26",
          "short_url": "https://urlbot.cc/spring26",
          "status": "active",
          "tags": [
            "campaign"
          ]
        },
        "error": "invalid_url",
        "index": 0,
        "message": "The URL is not valid."
      }
    ],
    "submitted": 1
  }
}
```

### Delete link

Delete a short link. It stops working.

**Inputs**

- Link (`code`, text, required): The link. Pick one, or enter its short code, the part after the domain.

**Outputs**

- `data` (object): The response from URL BOT.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "short_code": "spring26"
  }
}
```

### Get account

Get your URL BOT account, its plan and how many links it has used.

**Inputs**: None.

**Outputs**

- `data` (object): The response from URL BOT.

**Example output**

```json
{
  "data": {
    "analytics_retention_days": 365,
    "email": "jane@example.com",
    "id": 7,
    "plan": "business",
    "quota": {
      "limit": 1000,
      "period": "month",
      "unlimited": false,
      "used": 42
    },
    "username": "jane"
  }
}
```

### Get link

Get one short link with where it points and its click count.

**Inputs**

- Link (`code`, text, required): The link. Pick one, or enter its short code, the part after the domain.

**Outputs**

- `data` (object): The response from URL BOT.

**Example output**

```json
{
  "data": {
    "data": {
      "available": true,
      "click_count": 0,
      "created_at": "2026-08-01T09:12:44Z",
      "domain": "go.example.com",
      "expires_at": "2026-12-31T23:59:00Z",
      "has_password": true,
      "id": 412,
      "is_active": true,
      "original_url": "https://example.com/spring-campaign",
      "short_code": "spring26",
      "short_url": "https://urlbot.cc/spring26",
      "status": "active",
      "tags": [
        "campaign"
      ]
    }
  }
}
```

### Get link clicks

Get a short link's clicks, split into people and bots, with its top countries.

**Inputs**

- Link (`code`, text, required): The link. Pick one, or enter its short code, the part after the domain.

**Outputs**

- `data` (object): The response from URL BOT.

**Example output**

```json
{
  "data": {
    "retention_days": 365,
    "short_code": "spring26",
    "top_countries": [
      {
        "clicks": 60,
        "country": "US"
      }
    ],
    "totals": {
      "bot": 10,
      "clicks": 120,
      "human": 110,
      "lifetime_clicks": 130,
      "unique_visitors": 95
    }
  }
}
```

### List links

List one page of your short links, newest first.

**Inputs**

- Page size (`limit`, number): How many links a page holds, from 1 to 200. URL BOT's default is 50. From 1 to 200.
- Next page (`cursor`, text): The next_cursor from the page before, to read the page after it.
- Skip (`offset`, number): How many links to skip, when not using Next page. At least 0.

**Outputs**

- `data` (object): The response from URL BOT.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "available": true,
        "click_count": 0,
        "created_at": "2026-08-01T09:12:44Z",
        "domain": "go.example.com",
        "expires_at": "2026-12-31T23:59:00Z",
        "has_password": true,
        "id": 412,
        "is_active": true,
        "original_url": "https://example.com/spring-campaign",
        "short_code": "spring26",
        "short_url": "https://urlbot.cc/spring26",
        "status": "active",
        "tags": [
          "campaign"
        ]
      }
    ],
    "pagination": {
      "count": 1,
      "has_more": false,
      "limit": 50,
      "next_cursor": "eyJpZCI6NDEyfQ",
      "offset": 0,
      "total": 1
    }
  }
}
```

### List plans

List what each URL BOT plan includes, and which plan you are on.

**Inputs**: None.

**Outputs**

- `data` (object): The response from URL BOT.

**Example output**

```json
{
  "data": {
    "current_plan": "business",
    "data": [
      {
        "current": true,
        "custom_domains": 10,
        "features": [
          {
            "included": true,
            "key": "api_access",
            "label": "Full REST API access",
            "minimum_plan": "business"
          }
        ],
        "plan": "business",
        "team_members": 5
      }
    ]
  }
}
```

### Update link

Change where a short link points, turn it on or off, or replace its tags.

**Inputs**

- Link (`code`, text, required): The link. Pick one, or enter its short code, the part after the domain.
- Destination URL (`url`, text): The new web address. Leave empty to keep it.
- Active (`is_active`, true/false): Turn off to disable the link, on to enable it. Leave empty to keep it as it is.
- Tags (`tags`, list): Tags that replace the current ones. Leave empty to keep them.

**Outputs**

- `data` (object): The response from URL BOT.

**Example output**

```json
{
  "data": {
    "data": {
      "available": true,
      "click_count": 0,
      "created_at": "2026-08-01T09:12:44Z",
      "domain": "go.example.com",
      "expires_at": "2026-12-31T23:59:00Z",
      "has_password": true,
      "id": 412,
      "is_active": true,
      "original_url": "https://example.com/spring-campaign",
      "short_code": "spring26",
      "short_url": "https://urlbot.cc/spring26",
      "status": "active",
      "tags": [
        "campaign"
      ]
    }
  }
}
```
