> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to Short.io

The Short.io connector lets your AI agent act in each user's Short.io account. Each user connects their own Short.io API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 41 tools.

**Authentication:** API Key
**Categories:** Marketing
**Tools:** 41: 19 read, 16 write, 6 destructive
**Users sign in with:** API key
**Built by:** Scalekit connector
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=SHORTIO)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Short.io connection

   In **AgentKit > Connections**, create a Short.io connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'shortio'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Short.io:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'shortio_bundle_templates_list',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "shortio"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Short.io:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="shortio_bundle_templates_list",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user opens the link once and enters their Short.io credentials there. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'shortio_audit_log_list',
  toolInput: {
    domain_id: 123456,
  },
  connector: 'shortio',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="shortio_audit_log_list",
    tool_input={
        "domain_id": 123456,
    },
    connection_name="shortio",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `shortio_audit_log_list`

List Audit Log · Read-only

List audit log entries for a domain, optionally by user, action type or link.
Returns records, nextPageToken.
Get the domain ID from shortio_domains_list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`number`, required): Domain to fetch audit records for. Example: 123456
- `action_type` (`string`, optional): Filter records by operation type, e.g. "create", "update", "delete". Example: update
- `limit` (`integer`, optional): Maximum number of records to return. Example: 50
- `link_id` (`string`, optional): Filter records by link id, matched exactly as stored. Example: lnk_4Lx2_aBcD3fGh1
- `page_token` (`string`, optional): Pagination cursor from previous response. Example: example
- `team_id` (`integer`, optional): Team scope; current user must be owner. Example: 321
- `user_id` (`integer`, optional): Filter records by team member user id. Example: 98765

Example input: `{"domain_id":123456}`

### `shortio_bundle_get`

Get Bundle · Read-only

Get one link bundle with its settings.
Use shortio_bundle_links_list for its links.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): Bundle ULID id. Example: 01HZX5K9ABCDEF1234567890

Example input: `{"id":"<id>"}`

### `shortio_bundle_links_list`

List Bundle Links · Read-only

List the links on a bundle page.
Use shortio_bundle_link_add to add one.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): Bundle ULID id. Example: 01HZX5K9ABCDEF1234567890

Example input: `{"id":"<id>"}`

### `shortio_bundle_templates_list`

List Bundle Templates · Read-only

List the templates available for link bundles (link-in-bio pages).
Use this to get a TemplateId for shortio_bundle_create.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `shortio_country_regions_list`

List Country Regions · Read-only

List the region codes available for a country.
Use this to get region codes for shortio_link_region_create.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `country` (`string`, required): Country code. Example: US. One of: `AD`, `AE`, `AF`, `AG`, `AI`, `AL`, `AM`, `AO`, `AQ`, `AR`, `AS`, `AT`, `AU`, `AW`, `AX`, `AZ`, `BA`, `BB`, `BD`, `BE`, `BF`, `BG`, `BH`, `BI`, `BJ`, `BL`, `BM`, `BN`, `BO`, `BQ`, `BR`, `BS`, `BT`, `BV`, `BW`, `BY`, `BZ`, `CA`, `CC`, `CD`, `CF`, `CG`, `CH`, `CI`, `CK`, `CL`, `CM`, `CN`, `CO`, `CR`, `CU`, `CV`, `CW`, `CX`, `CY`, `CZ`, `DE`, `DJ`, `DK`, `DM`, `DO`, `DZ`, `EC`, `EE`, `EG`, `EH`, `ER`, `ES`, `ET`, `FI`, `FJ`, `FK`, `FM`, `FO`, `FR`, `GA`, `GB`, `GD`, `GE`, `GF`, `GG`, `GH`, `GI`, `GL`, `GM`, `GN`, `GP`, `GQ`, `GR`, `GS`, `GT`, `GU`, `GW`, `GY`, `HK`, `HM`, `HN`, `HR`, `HT`, `HU`, `ID`, `IE`, `IL`, `IM`, `IN`, `IO`, `IQ`, `IR`, `IS`, `IT`, `JE`, `JM`, `JO`, `JP`, `KE`, `KG`, `KH`, `KI`, `KM`, `KN`, `KP`, `KR`, `KW`, `KY`, `KZ`, `LA`, `LB`, `LC`, `LI`, `LK`, `LR`, `LS`, `LT`, `LU`, `LV`, `LY`, `MA`, `MC`, `MD`, `ME`, `MF`, `MG`, `MH`, `MK`, `ML`, `MM`, `MN`, `MO`, `MP`, `MQ`, `MR`, `MS`, `MT`, `MU`, `MV`, `MW`, `MX`, `MY`, `MZ`, `NA`, `NC`, `NE`, `NF`, `NG`, `NI`, `NL`, `NO`, `NP`, `NR`, `NU`, `NZ`, `OM`, `PA`, `PE`, `PF`, `PG`, `PH`, `PK`, `PL`, `PM`, `PN`, `PR`, `PS`, `PT`, `PW`, `PY`, `QA`, `RE`, `RO`, `RS`, `RU`, `RW`, `SA`, `SB`, `SC`, `SD`, `SE`, `SG`, `SH`, `SI`, `SJ`, `SK`, `SL`, `SM`, `SN`, `SO`, `SR`, `SS`, `ST`, `SV`, `SX`, `SY`, `SZ`, `TC`, `TD`, `TF`, `TG`, `TH`, `TJ`, `TK`, `TL`, `TM`, `TN`, `TO`, `TR`, `TT`, `TV`, `TW`, `TZ`, `UA`, `UG`, `UM`, `US`, `UY`, `UZ`, `VA`, `VC`, `VE`, `VG`, `VI`, `VN`, `VU`, `WF`, `WS`, `YE`, `YT`, `ZA`, `ZM`, `ZW`, `EU`, `QF`, `QS`, `QE`, `QO`, `QN`, `QT`, `XK`.

Example input: `{"country":"AD"}`

### `shortio_domain_get`

Get Domain · Read-only

Get one domain's details and settings.
Returns id, hostname, unicodeHostname, state, createdAt, updatedAt, TeamId, OrganizationId, hasFavicon, faviconURL.
Get the domain ID from shortio_domains_list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`integer`, required): Domain ID. Example: 123456

Example input: `{"domain_id":123456}`

### `shortio_domains_list`

List Domains · Read-only

List the branded short domains in the account with IDs, hostnames and settings.
Returns a list of records with id, hostname, unicodeHostname, state, createdAt, updatedAt, TeamId, OrganizationId, hasFavicon, faviconURL.
Use this first to get the domain ID and hostname other tools need.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `limit` (`integer`, optional): Maximum number of domains to return. Example: 50
- `no_team_id` (`boolean`, optional): Return only personal domains not assigned to a team. Example: true
- `offset` (`integer`, optional): Number of domains to skip for pagination. Example: 0
- `pattern` (`string`, optional): Hostname substring filter. Example: example
- `team_id` (`number`, optional): Filter domains by team ID. Example: 321

Example input: `{}`

### `shortio_folder_get`

Get Folder · Read-only

Get one link folder with its default settings.
Get the folder ID from shortio_folders_list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`integer`, required): Domain ID the folder belongs to. Example: 123456
- `folder_id` (`string`, required): Folder ID. Example: fld_01HZX5K9

Example input: `{"domain_id":123456,"folder_id":"<folder_id>"}`

### `shortio_folders_list`

List Folders · Read-only

List link folders on a domain.
Use this to get a folder ID for link tools. Get the domain ID from shortio_domains_list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`integer`, required): Domain ID to list folders for. Example: 123456

Example input: `{"domain_id":123456}`

### `shortio_link_countries_list`

List Link Country Targets · Read-only

List a link's country-specific destination URLs.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `domain_id` (`string`, optional): Domain ID, required only when using a legacy numeric link ID. Example: 123456

Example input: `{"link_id":"<link_id>"}`

### `shortio_link_expand`

Expand Link · Read-only

Look up a short link by domain hostname and path.
Returns originalURL, cloaking, password, expiresAt, expiredURL, title, tags, utmSource, utmMedium, utmCampaign.
Use this when you have the short URL, not the ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain` (`string`, required): Domain hostname. Example: go.example.com
- `path` (`string`, required): Link path. Example: spring-sale

Example input: `{"domain":"<domain>","path":"<path>"}`

### `shortio_link_get`

Get Link · Read-only

Get one short link by ID with its destination, short URL, path, title, tags and settings.
Returns originalURL, cloaking, password, expiresAt, expiredURL, title, tags, utmSource, utmMedium, utmCampaign.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `domain_id` (`string`, optional): [DEPRECATED] Domain ID. Example: 123456

Example input: `{"link_id":"<link_id>"}`

### `shortio_link_opengraph_get`

Get Link OpenGraph · Read-only

Get the OpenGraph (social preview) properties set on a link.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`number`, required): Domain ID the link belongs to. Example: 123456
- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1

Example input: `{"domain_id":123456,"link_id":"<link_id>"}`

### `shortio_link_permissions_list`

List Link Permissions · Read-only

List team members who were granted access to a link.
Returns a list of records with id, DomainId, UserId, LinkIdString.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`string`, required): Domain ID the link belongs to. Example: 123456
- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1

Example input: `{"domain_id":"<domain_id>","link_id":"<link_id>"}`

### `shortio_link_regions_list`

List Link Region Targets · Read-only

List a link's region-specific destination URLs.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `domain_id` (`string`, optional): Domain ID, required only when using a legacy numeric link ID. Example: 123456

Example input: `{"link_id":"<link_id>"}`

### `shortio_links_list`

List Links · Read-only

List short links on a domain, newest first, optionally by date range or folder.
Returns count, links, nextPageToken.
Use this to browse links. Use shortio_link_expand to look up one link by its path. Get the domain ID from shortio_domains_list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`integer`, required): Domain ID. Example: 123456
- `after_date` (`string`, optional): Return links created after this date. Example: 2026-01-01T00:00:00Z
- `before_date` (`string`, optional): Return links created before this date. Example: 2026-01-31T00:00:00Z
- `created_at` (`string`, optional): Pagination cursor by link creation date. Example: example
- `date_sort_order` (`string`, optional): Sort order by creation date. One of: asc, desc. Example: asc. One of: `asc`, `desc`.
- `folder_id` (`string`, optional): Restrict results to a specific folder. Example: fld_01HZX5K9
- `id_string` (`string`, optional): Link ID string for pagination cursor. Example: example
- `limit` (`integer`, optional): Maximum number of links to return. Example: 50
- `page_token` (`string`, optional): Opaque cursor for paginating link results. Example: example

Example input: `{"domain_id":123456}`

### `shortio_organization_plan_get`

Get Organization Plan · Read-only

Get the organization's plan tier, billing period and usage counters (domains, links, paid links, AI spend).
Use this to check limits before bulk operations. Get the organization ID from the OrganizationId field of shortio_domains_list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `organization_id` (`string`, required): Organization ID. Example: 45678

Example input: `{"organization_id":"<organization_id>"}`

### `shortio_tags_list`

List Tags · Read-only

List the tags used on a domain's links, optionally by prefix.
Returns tags, nextPageToken.
Get the domain ID from shortio_domains_list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`string`, required): Domain ID. Example: 123456
- `limit` (`integer`, optional): Max tags to return. Example: 50
- `page_token` (`string`, optional): Opaque cursor for the next page of tags. Example: example
- `prefix` (`string`, optional): Return only tags starting with this prefix. Example: spring

Example input: `{"domain_id":"<domain_id>"}`

### `shortio_tags_popular_list`

List Popular Tags · Read-only

List the most used tags on a domain.
Returns tags.
Get the domain ID from shortio_domains_list.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`string`, required): Domain ID. Example: 123456
- `limit` (`integer`, optional): Max tags to return. Example: 50

Example input: `{"domain_id":"<domain_id>"}`

### `shortio_bundle_create`

Create Bundle · Write

Create a link bundle (link-in-bio page) on a domain from a template, with title, description, logo and social profiles.
Add links with shortio_bundle_link_add.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `domain_id` (`number`, required): Domain ID where the bundle will be created. Example: 123456
- `template_id` (`string`, required): Template ID from available templates. Example: minimal
- `background_image_url` (`string`, optional): Background image URL. Example: https://example.com
- `bluesky_username` (`string`, optional): Bluesky username. Example: Example name
- `description` (`string`, optional): Bundle description. Example: All our links in one place
- `email` (`string`, optional): Contact email address. Example: hello@example.com
- `fb_username` (`string`, optional): Facebook username. Example: Example name
- `instagram_username` (`string`, optional): Instagram username (without @) Example: Example name
- `linkedin_companyname` (`string`, optional): LinkedIn company name (mutually exclusive with linkedinUsername) Example: Example name
- `linkedin_username` (`string`, optional): LinkedIn username (mutually exclusive with linkedinCompanyname) Example: Example name
- `logo_url` (`string`, optional): Profile or logo URL. Example: https://example.com/logo.png
- `mastodon_username` (`string`, optional): Mastodon username. Example: Example name
- `telegram_url` (`string`, optional): Telegram URL. Example: https://example.com
- `threads_username` (`string`, optional): Threads username (without @) Example: Example name
- `title` (`string`, optional): Bundle title. Example: Spring sale
- `twitter_username` (`string`, optional): Twitter username (without @) Example: Example name
- `viber_url` (`string`, optional): Viber URL (must start with viber:// or https://) Example: https://example.com
- `whatsapp_url` (`string`, optional): WhatsApp URL (must start with whatsapp:// or https://) Example: https://example.com

Example input: `{"domain_id":123456,"template_id":"<template_id>"}`

### `shortio_bundle_link_add`

Add Bundle Link · Write

Add a short link to a bundle page, creating the link if it does not exist.
Use shortio_bundle_links_list to see current links.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `id` (`string`, required): Bundle ULID id. Example: 01HZX5K9ABCDEF1234567890
- `path` (`string`, required): Short link path or full URL. Example: spring-sale
- `title` (`string`, required): Display title for the link. Example: Spring sale

Example input: `{"id":"<id>","path":"<path>","title":"<title>"}`

### `shortio_bundle_update`

Update Bundle · Write

Update a bundle's template, title, description, images or social profiles.
Get the bundle ID from shortio_bundle_create.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): Bundle ULID id. Example: 01HZX5K9ABCDEF1234567890
- `background_image_url` (`string`, optional): Background image URL. Example: https://example.com
- `bluesky_username` (`string`, optional): Bluesky username. Example: Example name
- `description` (`string`, optional): Bundle description. Example: All our links in one place
- `domain_id` (`number`, optional): Domain ID the bundle belongs to. Example: 123456
- `email` (`string`, optional): Contact email address. Example: hello@example.com
- `fb_username` (`string`, optional): Facebook username. Example: Example name
- `instagram_username` (`string`, optional): Instagram username (without @) Example: Example name
- `linkedin_companyname` (`string`, optional): LinkedIn company name (mutually exclusive with linkedinUsername) Example: Example name
- `linkedin_username` (`string`, optional): LinkedIn username (mutually exclusive with linkedinCompanyname) Example: Example name
- `logo_url` (`string`, optional): Profile or logo URL. Example: https://example.com/logo.png
- `mastodon_username` (`string`, optional): Mastodon username. Example: Example name
- `telegram_url` (`string`, optional): Telegram URL. Example: https://example.com
- `template_id` (`string`, optional): Template ID. Example: minimal
- `threads_username` (`string`, optional): Threads username (without @) Example: Example name
- `title` (`string`, optional): Bundle title. Example: Spring sale
- `twitter_username` (`string`, optional): Twitter username (without @) Example: Example name
- `viber_url` (`string`, optional): Viber URL (must start with viber:// or https://) Example: https://example.com
- `whatsapp_url` (`string`, optional): WhatsApp URL (must start with whatsapp:// or https://) Example: https://example.com

Example input: `{"id":"<id>"}`

### `shortio_domain_create`

Create Domain · Write

Add a branded short domain to the account. The domain's DNS must then point to Short.io.
Returns id, hostname, unicodeHostname, state, createdAt, updatedAt, TeamId, OrganizationId, hasFavicon, faviconURL.
Use shortio_domains_list to see existing domains.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `hostname` (`string`, required): Domain hostname. Example: go.example.com
- `hide_referer` (`boolean`, optional): Strip referer header on redirect. Example: true
- `link_type` (`string`, optional): Default link type for the domain. One of: increment, random, secure, four-char, eight-char, ten-char. Example: increment. One of: `increment`, `random`, `secure`, `four-char`, `eight-char`, `ten-char`.
- `team_id` (`integer`, optional): Team to create the domain in. Required for non-admin organization members; optional for organization admins. Example: 321

Example input: `{"hostname":"<hostname>"}`

### `shortio_domain_settings_update`

Update Domain Settings · Write

Update a domain's settings, such as HTTPS level, robots policy, link type, cloaking, referer hiding, webhook URL, tracking integrations and case sensitivity.
Returns success.
Get the domain ID from shortio_domains_list.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`integer`, required): Domain ID. Example: 123456
- `case_sensitive` (`boolean`, optional): Enable case sensitivity for short links. Example: true
- `cloaking` (`boolean`, optional): Enable cloaking for all links on the domain. Example: true
- `dedicated_certificate` (`boolean`, optional): Issue this domain its own SSL certificate instead of one shared with the organization's other domains. Turning it on reissues the domain's certificate. Example: true
- `enable_ai` (`boolean`, optional): Enable Ai. Example: true
- `enable_conversion_tracking` (`boolean`, optional): Enable Conversion Tracking. Example: true
- `hide_referer` (`boolean`, optional): Hide Referer. Example: true
- `hide_visitor_ip` (`boolean`, optional): Don't store visitor IPs in our database. Example: true
- `hsts_include_sub_domains` (`boolean`, optional): Add includeSubDomains to the Strict-Transport-Security header when httpsLevel is "hsts". Example: true
- `hsts_max_age` (`integer`, optional): Strict-Transport-Security max-age in seconds when httpsLevel is "hsts", from one year (31536000) to two years (63072000). Null means one year. Example: 31536000
- `https_level` (`string`, optional): Https Level. One of: none, redirect, hsts. Example: none. One of: `none`, `redirect`, `hsts`.
- `integration_adroll` (`string`, optional): Integration Adroll. Example: example
- `integration_fb` (`string`, optional): Integration Fb. Example: example
- `integration_ga` (`string`, optional): Integration Ga. Example: example
- `integration_gtm` (`string`, optional): Integration Gtm. Example: G-1234567
- `integration_tt` (`string`, optional): Integration Tt. Example: example
- `link_type` (`string`, optional): Link Type. One of: increment, random, secure, four-char, eight-char, ten-char. Example: increment. One of: `increment`, `random`, `secure`, `four-char`, `eight-char`, `ten-char`.
- `prevent_scraping` (`string`, optional): "all" requires every visitor to pass a proof-of-work check before the link resolves. That blocks scrapers, and also link previews, crawlers and any other client that does not run JavaScript. One of: none, all. Example: none. One of: `none`, `all`.
- `qr_scan_tracking` (`boolean`, optional): QR Scan Tracking. Example: true
- `robots` (`string`, optional): Robots. One of: allow, disallow, noindex. Example: allow. One of: `allow`, `disallow`, `noindex`.
- `webhook_url` (`string`, optional): Webhook URL. Example: https://example.com

Example input: `{"domain_id":123456}`

### `shortio_folder_create`

Create Folder · Write

Create a link folder on a domain, with optional color, slug prefix, default UTM parameters, redirect type and link lifetime.
Get the domain ID from shortio_domains_list.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `domain_id` (`integer`, required): Domain ID the folder belongs to. Example: 123456
- `name` (`string`, required): Folder display name. Example: Spring campaign
- `color` (`string`, optional): Folder display hex color. Example: #3b82f6
- `expires_at_days` (`integer`, optional): Default link lifetime in days. Example: 30
- `prefix` (`string`, optional): Slug prefix applied to folder links. Example: spring
- `redirect_type` (`integer`, optional): Default HTTP redirect code for folder links. Example: 301
- `utm_campaign` (`string`, optional): Default utm_campaign for folder links. Example: spring
- `utm_content` (`string`, optional): Default utm_content for folder links. Example: header
- `utm_medium` (`string`, optional): Default utm_medium for folder links. Example: email
- `utm_source` (`string`, optional): Default utm_source for folder links. Example: newsletter
- `utm_term` (`string`, optional): Default utm_term for folder links. Example: shoes

Example input: `{"domain_id":123456,"name":"<name>"}`

### `shortio_link_archive`

Archive Link · Write

Archive a short link so it is hidden from the dashboard list.
Returns success, error.
Use shortio_link_unarchive to restore it. Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `domain_id` (`string`, optional): Domain ID, required only when using a legacy numeric link ID. Example: 123456

Example input: `{"link_id":"<link_id>"}`

### `shortio_link_country_create`

Add Link Country Target · Write

Send visitors from one country to a different destination URL.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `country` (`string`, required): Country code. Example: US. One of: `AD`, `AE`, `AF`, `AG`, `AI`, `AL`, `AM`, `AO`, `AQ`, `AR`, `AS`, `AT`, `AU`, `AW`, `AX`, `AZ`, `BA`, `BB`, `BD`, `BE`, `BF`, `BG`, `BH`, `BI`, `BJ`, `BL`, `BM`, `BN`, `BO`, `BQ`, `BR`, `BS`, `BT`, `BV`, `BW`, `BY`, `BZ`, `CA`, `CC`, `CD`, `CF`, `CG`, `CH`, `CI`, `CK`, `CL`, `CM`, `CN`, `CO`, `CR`, `CU`, `CV`, `CW`, `CX`, `CY`, `CZ`, `DE`, `DJ`, `DK`, `DM`, `DO`, `DZ`, `EC`, `EE`, `EG`, `EH`, `ER`, `ES`, `ET`, `FI`, `FJ`, `FK`, `FM`, `FO`, `FR`, `GA`, `GB`, `GD`, `GE`, `GF`, `GG`, `GH`, `GI`, `GL`, `GM`, `GN`, `GP`, `GQ`, `GR`, `GS`, `GT`, `GU`, `GW`, `GY`, `HK`, `HM`, `HN`, `HR`, `HT`, `HU`, `ID`, `IE`, `IL`, `IM`, `IN`, `IO`, `IQ`, `IR`, `IS`, `IT`, `JE`, `JM`, `JO`, `JP`, `KE`, `KG`, `KH`, `KI`, `KM`, `KN`, `KP`, `KR`, `KW`, `KY`, `KZ`, `LA`, `LB`, `LC`, `LI`, `LK`, `LR`, `LS`, `LT`, `LU`, `LV`, `LY`, `MA`, `MC`, `MD`, `ME`, `MF`, `MG`, `MH`, `MK`, `ML`, `MM`, `MN`, `MO`, `MP`, `MQ`, `MR`, `MS`, `MT`, `MU`, `MV`, `MW`, `MX`, `MY`, `MZ`, `NA`, `NC`, `NE`, `NF`, `NG`, `NI`, `NL`, `NO`, `NP`, `NR`, `NU`, `NZ`, `OM`, `PA`, `PE`, `PF`, `PG`, `PH`, `PK`, `PL`, `PM`, `PN`, `PR`, `PS`, `PT`, `PW`, `PY`, `QA`, `RE`, `RO`, `RS`, `RU`, `RW`, `SA`, `SB`, `SC`, `SD`, `SE`, `SG`, `SH`, `SI`, `SJ`, `SK`, `SL`, `SM`, `SN`, `SO`, `SR`, `SS`, `ST`, `SV`, `SX`, `SY`, `SZ`, `TC`, `TD`, `TF`, `TG`, `TH`, `TJ`, `TK`, `TL`, `TM`, `TN`, `TO`, `TR`, `TT`, `TV`, `TW`, `TZ`, `UA`, `UG`, `UM`, `US`, `UY`, `UZ`, `VA`, `VC`, `VE`, `VG`, `VI`, `VN`, `VU`, `WF`, `WS`, `YE`, `YT`, `ZA`, `ZM`, `ZW`, `EU`, `QF`, `QS`, `QE`, `QO`, `QN`, `QT`, `XK`.
- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `original_url` (`string`, required): Destination URL for visitors from this country. Example: https://example.com/landing?ref=newsletter
- `domain_id` (`string`, optional): Domain ID, required only when using a legacy numeric link ID. Example: 123456

Example input: `{"country":"AD","link_id":"<link_id>","original_url":"<original_url>"}`

### `shortio_link_create`

Create Link · Write

Create a short link on a domain for a destination URL, with optional custom path, title, tags, folder, expiry, password, redirect type, click limit, UTM parameters and mobile URLs.
Returns originalURL, cloaking, password, expiresAt, expiredURL, title, tags, utmSource, utmMedium, utmCampaign.
Omit path to let the domain generate one. Use shortio_links_bulk_create for many links. Reusing an existing path with a different URL fails.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `domain` (`string`, required): Domain hostname. Example: go.example.com
- `original_url` (`string`, required): Original URL. Example: https://example.com/landing?ref=newsletter
- `allow_duplicates` (`boolean`, optional): Allow duplicates. Example: false
- `android_url` (`string`, optional): Android URL. Example: https://play.google.com/store/apps/details?id=com.example
- `archived` (`boolean`, optional): Link is archived. Example: false
- `clicks_limit` (`integer`, optional): disable link after specified number of clicks. Example: 1000
- `cloaking` (`boolean`, optional): Cloaking. Example: true
- `expired_url` (`string`, optional): Expired URL. Example: https://example.com/expired
- `expires_at` (`integer`, optional): Link expiration date in milliseconds or ISO string. Example: 1767225600000
- `folder_id` (`string`, optional): Folder ID. Example: fld_01HZX5K9
- `iphone_url` (`string`, optional): iPhone URL. Example: https://apps.apple.com/app/id123456789
- `password` (`string`, optional): Link password. Example: s3cret-pass
- `path` (`string`, optional): Link slug. For case-insensitive domains, the path is normalized to lowercase and the original value is preserved in displayPath. Example: spring-sale
- `redirect_type` (`integer`, optional): HTTP code for redirect. One of: 301, 302, 307, 308. Example: 301. One of: `301`, `302`, `307`, `308`.
- `tags` (`array`, optional): Array of link tags. Example: ["campaign"]
- `title` (`string`, optional): Link title. Example: Spring sale
- `utm_campaign` (`string`, optional): set utm_campaign parameter to destination link. Example: spring
- `utm_content` (`string`, optional): set utm_content parameter to destination link. Example: header
- `utm_medium` (`string`, optional): set utm_medium parameter to destination link. Example: email
- `utm_source` (`string`, optional): set utm_source parameter to destination link. Example: newsletter
- `utm_term` (`string`, optional): set utm_term parameter to destination link. Example: shoes

Example input: `{"domain":"<domain>","original_url":"<original_url>"}`

### `shortio_link_duplicate`

Duplicate Link · Write

Copy a short link with all its settings and targeting rules to a new random or custom path.
Returns originalURL, cloaking, password, expiresAt, expiredURL, title, tags, utmSource, utmMedium, utmCampaign.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `link_id` (`string`, required): Encoded link ID string of the source link. Example: lnk_4Lx2_aBcD3fGh1
- `path` (`string`, optional): Custom path for duplicated link. Example: spring-sale

Example input: `{"link_id":"<link_id>"}`

### `shortio_link_permission_add`

Add Link Permission · Write

Grant a team member access to a link.
Returns id, DomainId, UserId, LinkIdString.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `domain_id` (`string`, required): Domain ID the link belongs to. Example: 123456
- `link_id` (`string`, required): Link ID. Example: lnk_4Lx2_aBcD3fGh1
- `user_id` (`string`, required): User ID to grant access to. Example: 98765

Example input: `{"domain_id":"<domain_id>","link_id":"<link_id>","user_id":"<user_id>"}`

### `shortio_link_region_create`

Add Link Region Target · Write

Send visitors from one region (ISO 3166-2) to a different destination URL.
Use shortio_country_regions_list for region codes. Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `country` (`string`, required): Country code. Example: US. One of: `AD`, `AE`, `AF`, `AG`, `AI`, `AL`, `AM`, `AO`, `AQ`, `AR`, `AS`, `AT`, `AU`, `AW`, `AX`, `AZ`, `BA`, `BB`, `BD`, `BE`, `BF`, `BG`, `BH`, `BI`, `BJ`, `BL`, `BM`, `BN`, `BO`, `BQ`, `BR`, `BS`, `BT`, `BV`, `BW`, `BY`, `BZ`, `CA`, `CC`, `CD`, `CF`, `CG`, `CH`, `CI`, `CK`, `CL`, `CM`, `CN`, `CO`, `CR`, `CU`, `CV`, `CW`, `CX`, `CY`, `CZ`, `DE`, `DJ`, `DK`, `DM`, `DO`, `DZ`, `EC`, `EE`, `EG`, `EH`, `ER`, `ES`, `ET`, `FI`, `FJ`, `FK`, `FM`, `FO`, `FR`, `GA`, `GB`, `GD`, `GE`, `GF`, `GG`, `GH`, `GI`, `GL`, `GM`, `GN`, `GP`, `GQ`, `GR`, `GS`, `GT`, `GU`, `GW`, `GY`, `HK`, `HM`, `HN`, `HR`, `HT`, `HU`, `ID`, `IE`, `IL`, `IM`, `IN`, `IO`, `IQ`, `IR`, `IS`, `IT`, `JE`, `JM`, `JO`, `JP`, `KE`, `KG`, `KH`, `KI`, `KM`, `KN`, `KP`, `KR`, `KW`, `KY`, `KZ`, `LA`, `LB`, `LC`, `LI`, `LK`, `LR`, `LS`, `LT`, `LU`, `LV`, `LY`, `MA`, `MC`, `MD`, `ME`, `MF`, `MG`, `MH`, `MK`, `ML`, `MM`, `MN`, `MO`, `MP`, `MQ`, `MR`, `MS`, `MT`, `MU`, `MV`, `MW`, `MX`, `MY`, `MZ`, `NA`, `NC`, `NE`, `NF`, `NG`, `NI`, `NL`, `NO`, `NP`, `NR`, `NU`, `NZ`, `OM`, `PA`, `PE`, `PF`, `PG`, `PH`, `PK`, `PL`, `PM`, `PN`, `PR`, `PS`, `PT`, `PW`, `PY`, `QA`, `RE`, `RO`, `RS`, `RU`, `RW`, `SA`, `SB`, `SC`, `SD`, `SE`, `SG`, `SH`, `SI`, `SJ`, `SK`, `SL`, `SM`, `SN`, `SO`, `SR`, `SS`, `ST`, `SV`, `SX`, `SY`, `SZ`, `TC`, `TD`, `TF`, `TG`, `TH`, `TJ`, `TK`, `TL`, `TM`, `TN`, `TO`, `TR`, `TT`, `TV`, `TW`, `TZ`, `UA`, `UG`, `UM`, `US`, `UY`, `UZ`, `VA`, `VC`, `VE`, `VG`, `VI`, `VN`, `VU`, `WF`, `WS`, `YE`, `YT`, `ZA`, `ZM`, `ZW`, `EU`, `QF`, `QS`, `QE`, `QO`, `QN`, `QT`, `XK`.
- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `original_url` (`string`, required): Destination URL for visitors from this region. Example: https://example.com/landing?ref=newsletter
- `region` (`string`, required): ISO 3166-2 region code. Example: US-CA
- `domain_id` (`integer`, optional): Domain ID. Example: 123456

Example input: `{"country":"AD","link_id":"<link_id>","original_url":"<original_url>","region":"<region>"}`

### `shortio_link_unarchive`

Unarchive Link · Write

Restore an archived short link.
Returns success, error.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `domain_id` (`string`, optional): Domain ID, required only when using a legacy numeric link ID. Example: 123456

Example input: `{"link_id":"<link_id>"}`

### `shortio_link_update`

Update Link · Write

Update a short link's destination URL, path, title, tags, expiry, password, redirect type, click limit, UTM parameters or mobile URLs.
Returns originalURL, cloaking, password, expiresAt, expiredURL, title, tags, utmSource, utmMedium, utmCampaign.
Send only the fields to change. Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `android_url` (`string`, optional): Android URL. Example: https://play.google.com/store/apps/details?id=com.example
- `archived` (`boolean`, optional): Link is archived. Example: true
- `clicks_limit` (`integer`, optional): disable link after specified number of clicks. Example: 1000
- `cloaking` (`boolean`, optional): Cloaking. Example: true
- `domain_id` (`string`, optional): Domain ID, required only when using a legacy numeric link ID. Example: 123456
- `expired_url` (`string`, optional): Expired URL. Example: https://example.com/expired
- `expires_at` (`integer`, optional): Link expiration date in milliseconds or ISO string. Example: 1767225600000
- `iphone_url` (`string`, optional): iPhone URL. Example: https://apps.apple.com/app/id123456789
- `original_url` (`string`, optional): Original URL. Example: https://example.com/landing?ref=newsletter
- `password` (`string`, optional): Link password. Example: s3cret-pass
- `path` (`string`, optional): Link slug. For case-insensitive domains, the path is normalized to lowercase and the original value is preserved in displayPath. Example: spring-sale
- `redirect_type` (`integer`, optional): HTTP code for redirect. One of: 301, 302, 307, 308. Example: 301. One of: `301`, `302`, `307`, `308`.
- `tags` (`array`, optional): Array of link tags. Example: ["campaign"]
- `title` (`string`, optional): Link title. Example: Spring sale
- `utm_campaign` (`string`, optional): set utm_campaign parameter to destination link. Example: spring
- `utm_content` (`string`, optional): set utm_content parameter to destination link. Example: header
- `utm_medium` (`string`, optional): set utm_medium parameter to destination link. Example: email
- `utm_source` (`string`, optional): set utm_source parameter to destination link. Example: newsletter
- `utm_term` (`string`, optional): set utm_term parameter to destination link. Example: shoes

Example input: `{"link_id":"<link_id>"}`

### `shortio_links_bulk_create`

Create Links in Bulk · Write

Create up to 1000 short links on one domain in a single call.
Each link takes the same fields as shortio_link_create (originalURL is required).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `domain` (`string`, required): Domain hostname. Example: go.example.com
- `links` (`array`, required): Links to create (up to 1000) Example: [{"originalURL": "https://example.com/a"}, {"originalURL": "https://example.com/b"}]
- `allow_duplicates` (`boolean`, optional): Allow duplicate destinations across the batch. Example: false
- `folder_id` (`string`, optional): Folder ID. Example: fld_01HZX5K9

Example input: `{"domain":"<domain>","links":[{"originalURL":"https://example.com/a"},{"originalURL":"https://example.com/b"}]}`

### `shortio_tags_bulk_add`

Add Tag to Links · Write

Append one tag to several links at once.
Use shortio_link_update to replace a link's tags.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `link_ids` (`array`, required): Link id strings to tag. Example: ["lnk_4Lx2_aBcD3fGh1"]
- `tag` (`string`, required): Tag to append to each link. Example: campaign

Example input: `{"link_ids":["lnk_4Lx2_aBcD3fGh1"],"tag":"<tag>"}`

### `shortio_bundle_delete`

Delete Bundle · Destructive

Delete a link bundle.
Get the bundle ID from shortio_bundle_create.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `id` (`string`, required): Bundle ULID id. Example: 01HZX5K9ABCDEF1234567890

Example input: `{"id":"<id>"}`

### `shortio_link_country_delete`

Delete Link Country Target · Destructive

Remove a link's country-specific destination.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `country` (`string`, required): Country code. Example: US. One of: `AD`, `AE`, `AF`, `AG`, `AI`, `AL`, `AM`, `AO`, `AQ`, `AR`, `AS`, `AT`, `AU`, `AW`, `AX`, `AZ`, `BA`, `BB`, `BD`, `BE`, `BF`, `BG`, `BH`, `BI`, `BJ`, `BL`, `BM`, `BN`, `BO`, `BQ`, `BR`, `BS`, `BT`, `BV`, `BW`, `BY`, `BZ`, `CA`, `CC`, `CD`, `CF`, `CG`, `CH`, `CI`, `CK`, `CL`, `CM`, `CN`, `CO`, `CR`, `CU`, `CV`, `CW`, `CX`, `CY`, `CZ`, `DE`, `DJ`, `DK`, `DM`, `DO`, `DZ`, `EC`, `EE`, `EG`, `EH`, `ER`, `ES`, `ET`, `FI`, `FJ`, `FK`, `FM`, `FO`, `FR`, `GA`, `GB`, `GD`, `GE`, `GF`, `GG`, `GH`, `GI`, `GL`, `GM`, `GN`, `GP`, `GQ`, `GR`, `GS`, `GT`, `GU`, `GW`, `GY`, `HK`, `HM`, `HN`, `HR`, `HT`, `HU`, `ID`, `IE`, `IL`, `IM`, `IN`, `IO`, `IQ`, `IR`, `IS`, `IT`, `JE`, `JM`, `JO`, `JP`, `KE`, `KG`, `KH`, `KI`, `KM`, `KN`, `KP`, `KR`, `KW`, `KY`, `KZ`, `LA`, `LB`, `LC`, `LI`, `LK`, `LR`, `LS`, `LT`, `LU`, `LV`, `LY`, `MA`, `MC`, `MD`, `ME`, `MF`, `MG`, `MH`, `MK`, `ML`, `MM`, `MN`, `MO`, `MP`, `MQ`, `MR`, `MS`, `MT`, `MU`, `MV`, `MW`, `MX`, `MY`, `MZ`, `NA`, `NC`, `NE`, `NF`, `NG`, `NI`, `NL`, `NO`, `NP`, `NR`, `NU`, `NZ`, `OM`, `PA`, `PE`, `PF`, `PG`, `PH`, `PK`, `PL`, `PM`, `PN`, `PR`, `PS`, `PT`, `PW`, `PY`, `QA`, `RE`, `RO`, `RS`, `RU`, `RW`, `SA`, `SB`, `SC`, `SD`, `SE`, `SG`, `SH`, `SI`, `SJ`, `SK`, `SL`, `SM`, `SN`, `SO`, `SR`, `SS`, `ST`, `SV`, `SX`, `SY`, `SZ`, `TC`, `TD`, `TF`, `TG`, `TH`, `TJ`, `TK`, `TL`, `TM`, `TN`, `TO`, `TR`, `TT`, `TV`, `TW`, `TZ`, `UA`, `UG`, `UM`, `US`, `UY`, `UZ`, `VA`, `VC`, `VE`, `VG`, `VI`, `VN`, `VU`, `WF`, `WS`, `YE`, `YT`, `ZA`, `ZM`, `ZW`, `EU`, `QF`, `QS`, `QE`, `QO`, `QN`, `QT`, `XK`.
- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `domain_id` (`string`, optional): Domain ID, required only when using a legacy numeric link ID. Example: 123456

Example input: `{"country":"AD","link_id":"<link_id>"}`

### `shortio_link_delete`

Delete Link · Destructive

Delete a short link permanently. The short URL stops redirecting.
Returns success, idString, error.
Use shortio_link_archive to hide it instead. Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `link_id` (`string`, required): Link ID. Example: lnk_4Lx2_aBcD3fGh1

Example input: `{"link_id":"<link_id>"}`

### `shortio_link_permission_delete`

Delete Link Permission · Destructive

Revoke a team member's access to a link.
Returns success.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `domain_id` (`integer`, required): Domain ID the link belongs to. Example: 123456
- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `user_id` (`string`, required): User ID whose permission is being revoked. Example: 98765

Example input: `{"domain_id":123456,"link_id":"<link_id>","user_id":"<user_id>"}`

### `shortio_link_region_delete`

Delete Link Region Target · Destructive

Remove a link's region-specific destination.
Get the link ID (lnk_...) from shortio_links_list or shortio_link_expand.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `country` (`string`, required): Country code. Example: US. One of: `AD`, `AE`, `AF`, `AG`, `AI`, `AL`, `AM`, `AO`, `AQ`, `AR`, `AS`, `AT`, `AU`, `AW`, `AX`, `AZ`, `BA`, `BB`, `BD`, `BE`, `BF`, `BG`, `BH`, `BI`, `BJ`, `BL`, `BM`, `BN`, `BO`, `BQ`, `BR`, `BS`, `BT`, `BV`, `BW`, `BY`, `BZ`, `CA`, `CC`, `CD`, `CF`, `CG`, `CH`, `CI`, `CK`, `CL`, `CM`, `CN`, `CO`, `CR`, `CU`, `CV`, `CW`, `CX`, `CY`, `CZ`, `DE`, `DJ`, `DK`, `DM`, `DO`, `DZ`, `EC`, `EE`, `EG`, `EH`, `ER`, `ES`, `ET`, `FI`, `FJ`, `FK`, `FM`, `FO`, `FR`, `GA`, `GB`, `GD`, `GE`, `GF`, `GG`, `GH`, `GI`, `GL`, `GM`, `GN`, `GP`, `GQ`, `GR`, `GS`, `GT`, `GU`, `GW`, `GY`, `HK`, `HM`, `HN`, `HR`, `HT`, `HU`, `ID`, `IE`, `IL`, `IM`, `IN`, `IO`, `IQ`, `IR`, `IS`, `IT`, `JE`, `JM`, `JO`, `JP`, `KE`, `KG`, `KH`, `KI`, `KM`, `KN`, `KP`, `KR`, `KW`, `KY`, `KZ`, `LA`, `LB`, `LC`, `LI`, `LK`, `LR`, `LS`, `LT`, `LU`, `LV`, `LY`, `MA`, `MC`, `MD`, `ME`, `MF`, `MG`, `MH`, `MK`, `ML`, `MM`, `MN`, `MO`, `MP`, `MQ`, `MR`, `MS`, `MT`, `MU`, `MV`, `MW`, `MX`, `MY`, `MZ`, `NA`, `NC`, `NE`, `NF`, `NG`, `NI`, `NL`, `NO`, `NP`, `NR`, `NU`, `NZ`, `OM`, `PA`, `PE`, `PF`, `PG`, `PH`, `PK`, `PL`, `PM`, `PN`, `PR`, `PS`, `PT`, `PW`, `PY`, `QA`, `RE`, `RO`, `RS`, `RU`, `RW`, `SA`, `SB`, `SC`, `SD`, `SE`, `SG`, `SH`, `SI`, `SJ`, `SK`, `SL`, `SM`, `SN`, `SO`, `SR`, `SS`, `ST`, `SV`, `SX`, `SY`, `SZ`, `TC`, `TD`, `TF`, `TG`, `TH`, `TJ`, `TK`, `TL`, `TM`, `TN`, `TO`, `TR`, `TT`, `TV`, `TW`, `TZ`, `UA`, `UG`, `UM`, `US`, `UY`, `UZ`, `VA`, `VC`, `VE`, `VG`, `VI`, `VN`, `VU`, `WF`, `WS`, `YE`, `YT`, `ZA`, `ZM`, `ZW`, `EU`, `QF`, `QS`, `QE`, `QO`, `QN`, `QT`, `XK`.
- `link_id` (`string`, required): Numeric link ID or encoded link ID string. Example: lnk_4Lx2_aBcD3fGh1
- `region` (`string`, required): ISO 3166-2 region code. Example: US-CA
- `domain_id` (`string`, optional): Domain ID, required only when using a legacy numeric link ID. Example: 123456

Example input: `{"country":"AD","link_id":"<link_id>","region":"<region>"}`

### `shortio_links_bulk_delete`

Delete Links in Bulk · Destructive

Delete several short links at once by ID (rate limit 1 per second).
Returns success, error.
Use shortio_link_delete for one link.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `link_ids` (`array`, required): Encoded link IDs to delete. Example: ["lnk_4Lx2_aBcD3fGh1"]

Example input: `{"link_ids":["lnk_4Lx2_aBcD3fGh1"]}`

## Related

Other Marketing connectors ([all 190](/agentkit/connectors/?category=marketing)):

- [HubSpot](/agentkit/connectors/hubspot/): Scalekit connector, OAuth, 457 tools
- [Mailchimp](/agentkit/connectors/mailchimp/): Scalekit connector, OAuth, 73 tools
- [Twitter / X](/agentkit/connectors/twitteroauth/): Scalekit connector, OAuth, 92 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
