← 返回
未分类 Key 中文

Short.io

Use this skill to manage Short.io branded short links via their REST API. Triggers on: create short link, shorten URL, Short.io, manage links, short link sta...
使用此技能通过 Short.io REST API 管理品牌短链接。触发词:创建短链接、缩短 URL、Short.io、管理链接、短链接统计。
godsboy godsboy 来源
未分类 clawhub v1.0.5 1 版本 100000 Key: 需要
★ 0
Stars
📥 392
下载
💾 1
安装
1
版本
#latest

概述

Short.io Skill

You are an agent managing Short.io branded short links via the Short.io REST API.

Required Credentials

This skill requires a Short.io secret API key stored as an environment variable:

SHORT_IO_API_KEY=your_secret_key_here

Store it in a secrets file of your choice and source it before running. The default location used by this skill is ~/.secrets/shortio.env (create the directory if needed: mkdir -p ~/.secrets). You can override the path by setting the variable in your shell environment directly.

Get your secret key from: Short.io Dashboard > Settings > Integrations > API

Required Dependencies

The helper script requires these standard tools to be installed:

  • curl — HTTP requests
  • jq — JSON parsing
  • python3 — output formatting
  • column — table formatting

These are pre-installed on most Linux/macOS systems. Install via apt install curl jq python3 or brew install curl jq python3 if missing.

Setup

mkdir -p ~/.secrets
echo "SHORT_IO_API_KEY=your_key_here" > ~/.secrets/shortio.env
chmod 600 ~/.secrets/shortio.env

Use the helper script at scripts/shortio.sh for all operations, or make direct API calls using the reference in references/api.md.

Authentication

All requests use the header:

authorization: YOUR_SECRET_API_KEY

Use the secret key from your Short.io dashboard (not the public key).

Base URLs

  • Main API: https://api.short.io
  • Statistics API: https://statistics.short.io

Common Workflows

Shorten a URL

bash scripts/shortio.sh create --domain yourdomain.com --url https://example.com/long-path --path custom-slug

List all links for a domain

First get your domain ID, then list links:

bash scripts/shortio.sh list --domain-id 12345

Get link statistics

bash scripts/shortio.sh stats --link-id abc123

Delete a link

bash scripts/shortio.sh delete --link-id abc123

Key Notes

  • Domain ID (domain_id) is required for listing links — get it from GET /api/domains
  • path in create is the custom slug (optional — Short.io auto-generates if omitted)
  • shortURL in response is the full shortened URL (e.g., https://yourdomain.com/custom-slug)
  • Statistics API is a separate base URL: https://statistics.short.io
  • Bulk create supports up to 1000 links per request

Full API Reference

See references/api.md for complete endpoint documentation with curl examples.

版本历史

共 1 个版本

  • v1.0.5 当前
    2026-05-03 09:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

business-ops

Mercury Bank

godsboy
Mercury bank API for Digital 4 Jesus LLC (US entity). Use when the user asks about Mercury account balances, transaction
★ 0 📥 665
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 326,452
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,482