{
  "info": {
    "name": "Shorten.REST — mcp.ai",
    "description": "REST API for the Shorten.REST MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/shorten_rest",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "shorten_rest_create_alias",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/alias",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "alias"
          ]
        },
        "description": "Tool to create a new alias (short URL) under a specified domain. Use when you need to shorten a URL. If no domain is specified, the alias will be attached to the default domain Short.fyi. You can over",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"metatags\": \"\",\n  \"snippets\": \"\",\n  \"aliasName\": \"\",\n  \"domainName\": \"\",\n  \"destinations\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "shorten_rest_delete_alias",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/alias",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "alias"
          ]
        },
        "description": "Tool to delete a single alias by providing alias and domain. Use when you need to remove an existing shortened URL. If no domain is provided, the API searches for the matching alias within the Short.f",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"aliasName\": \"\",\n  \"domainName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "shorten_rest_get_aliases",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/aliases",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "aliases"
          ]
        },
        "description": "Tool to retrieve all URL aliases of the authenticated user. Use when you need to list existing aliases (supports pagination).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "shorten_rest_get_clicks",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/clicks",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "clicks"
          ]
        },
        "description": "Tool to retrieve click data for shortened URLs. Use to check click analytics for your aliases. Returns a list of click records which may be empty if no clicks have occurred yet. Returned records may r",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"alias\": \"\",\n  \"limit\": 0,\n  \"cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "shorten_rest_list_aliases_by_domain",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/aliases/by/domain",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "aliases",
            "by",
            "domain"
          ]
        },
        "description": "Tool to retrieve all alias names associated with your account and a given domain. Results are in descending order by creation date. Use when you need to list alias names (not full details) for a speci",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"domain_name\": \"\",\n  \"continue_from\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "shorten_rest_update_alias",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/alias",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "alias"
          ]
        },
        "description": "Tool to update an existing short URL alias by providing its alias name and domain. Use when you need to modify destinations, metatags, or snippets for an existing alias. IMPORTANT: When updating array",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"metatags\": \"\",\n  \"snippets\": \"\",\n  \"aliasName\": \"\",\n  \"domainName\": \"\",\n  \"destinations\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}