{
  "info": {
    "name": "Bitly — mcp.ai",
    "description": "REST API for the Bitly 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/bitly",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "bitly_delete_bitlink",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/bitlink",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "bitlink"
          ]
        },
        "description": "Permanently delete an eligible unedited hash Bitlink.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"bitlink\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bitly_expand_link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/expand/link",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "expand",
            "link"
          ]
        },
        "description": "Resolve a Bitlink to its current destination and destination history, when available.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"bitlink\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bitly_get_account_context",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/account/context",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "account",
            "context"
          ]
        },
        "description": "Return the authenticated Bitly user together with accessible groups and organizations needed by other tools.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"organization_guid\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bitly_get_bitlink",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/bitlink",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "bitlink"
          ]
        },
        "description": "Retrieve full Bitlink metadata, including destination, title, tags, archive or deletion state, and associated QR code IDs.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"bitlink\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bitly_get_bitlink_activity",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/bitlink/activity",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "bitlink",
            "activity"
          ]
        },
        "description": "Return paid-plan click or engagement analytics for a Bitlink as a timeline or summary. Requires Bitlink analytics entitlement.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"unit\": \"\",\n  \"view\": \"\",\n  \"units\": 0,\n  \"metric\": \"\",\n  \"bitlink\": \"\",\n  \"unit_reference\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bitly_get_bitlink_traffic_sources",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/bitlink/traffic/sources",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "bitlink",
            "traffic",
            "sources"
          ]
        },
        "description": "Break down paid-plan Bitlink click analytics by country, city, device, referrer, or referring domain. Requires Bitlink analytics entitlement.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"size\": 0,\n  \"unit\": \"\",\n  \"units\": 0,\n  \"bitlink\": \"\",\n  \"dimension\": \"\",\n  \"unit_reference\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bitly_get_usage_and_limits",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/usage/and/limits",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "usage",
            "and",
            "limits"
          ]
        },
        "description": "Inspect monthly plan quotas, hourly endpoint budgets, and optional group feature usage before performing quota-consuming work.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"group_guid\": \"\",\n  \"endpoint_path\": \"\",\n  \"feature_names\": \"\",\n  \"organization_guid\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bitly_list_bitlinks",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/bitlinks",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "bitlinks"
          ]
        },
        "description": "List or search Bitlinks owned by a group, one cursor-controlled page at a time.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"size\": 0,\n  \"tags\": \"\",\n  \"query\": \"\",\n  \"archived\": \"\",\n  \"group_guid\": \"\",\n  \"next_cursor\": \"\",\n  \"created_after\": 0,\n  \"created_before\": 0,\n  \"hostname_path_query\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bitly_shorten_link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shorten/link",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shorten",
            "link"
          ]
        },
        "description": "Create an ordinary Bitly short link for a long URL in a specific group.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"domain\": \"\",\n  \"long_url\": \"\",\n  \"group_guid\": \"\",\n  \"force_new_link\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "bitly_update_bitlink",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/bitlink",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "bitlink"
          ]
        },
        "description": "Update safe metadata or archive state for a Bitlink; this tool does not redirect destinations or configure advanced routing.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tags\": \"\",\n  \"title\": \"\",\n  \"bitlink\": \"\",\n  \"archived\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}