{
  "info": {
    "name": "redirect.pizza — mcp.ai",
    "description": "REST API for the redirect.pizza 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/redirect_pizza",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "redirect_pizza_check_domain_dns",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/check/domain/dns",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "check",
            "domain",
            "dns"
          ]
        },
        "description": "Ask redirect.pizza to re-check DNS propagation for a domain and return its refreshed DNS and SSL state.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"domain_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_create_redirect",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/redirect",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "redirect"
          ]
        },
        "description": "Create a new redirect from one or more source hostnames or URLs to a fixed destination URL using Free-safe redirect types.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tags\": \"\",\n  \"notes\": \"\",\n  \"sources\": \"\",\n  \"tracking\": false,\n  \"destination\": \"\",\n  \"redirect_type\": \"\",\n  \"uri_forwarding\": false,\n  \"keep_query_string\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_delete_redirect",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/redirect",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "redirect"
          ]
        },
        "description": "Permanently delete a redirect and its generated domain association by redirect ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"redirect_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_generate_qr_code",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate/qr/code",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate",
            "qr",
            "code"
          ]
        },
        "description": "Generate a QR code for an HTTP or HTTPS URL as JSON-embedded PNG data or a downloadable PNG, SVG, or EPS file.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"format\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_get_domain",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/domain",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "domain"
          ]
        },
        "description": "Retrieve one domain's required DNS records, verification status, security settings, and SSL state.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"domain_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_get_redirect",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/redirect",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "redirect"
          ]
        },
        "description": "Retrieve one redirect and its sources, destination, domains, options, and current pause state by redirect ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"redirect_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_get_team",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/team",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "team"
          ]
        },
        "description": "Return the connected token's team identity and hostname, hit, and user quota usage.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_list_domains",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/domains",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "domains"
          ]
        },
        "description": "List domains created by redirects, including DNS requirements, verification, automatic-DNS availability, and SSL state.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"per_page\": 0,\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_list_redirects",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/redirects",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "redirects"
          ]
        },
        "description": "List redirects visible to the connected API token, including source, destination, state, and domain details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"per_page\": 0,\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_set_redirect_paused",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/set/redirect/paused",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "set",
            "redirect",
            "paused"
          ]
        },
        "description": "Pause or resume all source URLs belonging to one redirect.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"paused\": false,\n  \"redirect_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_set_redirect_source_paused",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/set/redirect/source/paused",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "set",
            "redirect",
            "source",
            "paused"
          ]
        },
        "description": "Pause or resume one source URL within a redirect without changing its other sources.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"paused\": false,\n  \"source_id\": 0,\n  \"redirect_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_test_redirect_url",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/test/redirect/url",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "test",
            "redirect",
            "url"
          ]
        },
        "description": "Test one HTTP redirect hop for a public URL and return status, redirect details, timing, errors, and the next URL to test if present.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_update_redirect",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/redirect",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "redirect"
          ]
        },
        "description": "Replace a redirect's configurable sources, fixed destination, redirect type, and options.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tags\": \"\",\n  \"notes\": \"\",\n  \"sources\": \"\",\n  \"tracking\": false,\n  \"destination\": \"\",\n  \"redirect_id\": 0,\n  \"redirect_type\": \"\",\n  \"uri_forwarding\": false,\n  \"keep_query_string\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "redirect_pizza_upsert_redirect",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/upsert/redirect",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "upsert",
            "redirect"
          ]
        },
        "description": "Create a redirect or update the uniquely matching redirect while retaining that redirect's existing sources.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tags\": \"\",\n  \"notes\": \"\",\n  \"sources\": \"\",\n  \"tracking\": false,\n  \"destination\": \"\",\n  \"redirect_type\": \"\",\n  \"uri_forwarding\": false,\n  \"keep_query_string\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}