{
  "info": {
    "name": "Planyo Online Booking — mcp.ai",
    "description": "REST API for the Planyo Online Booking 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/planyo_online_booking",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "planyo_online_booking_add_reservation",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/reservation",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "reservation"
          ]
        },
        "description": "Tool to create a new reservation. Use after gathering resource, timing, and customer details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"force\": false,\n  \"site_id\": 0,\n  \"user_id\": 0,\n  \"end_time\": \"\",\n  \"language\": \"\",\n  \"quantity\": 0,\n  \"last_name\": \"\",\n  \"admin_mode\": false,\n  \"first_name\": \"\",\n  \"start_time\": \"\",\n  \"user_email\": \"\",\n  \"resource_id\": 0,\n  \"voucher_code\": \"\",\n  \"custom_fields\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "planyo_online_booking_add_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "user"
          ]
        },
        "description": "Tool to add a new user in Planyo. Use when you need to create a user account after gathering user details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"fax\": \"\",\n  \"zip\": \"\",\n  \"city\": \"\",\n  \"email\": \"\",\n  \"phone\": \"\",\n  \"state\": \"\",\n  \"mobile\": \"\",\n  \"vat_id\": \"\",\n  \"address\": \"\",\n  \"company\": \"\",\n  \"country\": \"\",\n  \"last_name\": \"\",\n  \"first_name\": \"\",\n  \"custom_fields\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "planyo_online_booking_get_addon_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/addon/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "addon",
            "list"
          ]
        },
        "description": "Tool to retrieve a list of add-ons. Use when you need to inspect or manage add-ons for a specific resource or across the entire site after setting up credentials.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"site_id\": 0,\n  \"user_id\": 0,\n  \"password\": \"\",\n  \"admin_mode\": false,\n  \"login_name\": \"\",\n  \"session_id\": \"\",\n  \"resource_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "planyo_online_booking_get_coupon_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/coupon/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "coupon",
            "list"
          ]
        },
        "description": "Tool to retrieve a list of coupons. Use when you need to fetch all coupons for a specific resource or the entire site (if no resource_id provided).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"site_id\": 0,\n  \"admin_email\": \"\",\n  \"resource_id\": 0,\n  \"admin_password\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "planyo_online_booking_get_resource_availability",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/resource/availability",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "resource",
            "availability"
          ]
        },
        "description": "Tool to check resource availability within a specified date/time range. Use when validating if a resource can be reserved before creating a reservation.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"end_time\": \"\",\n  \"quantity\": 0,\n  \"test_mode\": 0,\n  \"start_time\": \"\",\n  \"end_user_id\": 0,\n  \"ignore_cart\": false,\n  \"resource_id\": 0,\n  \"min_duration\": 0,\n  \"ignore_reservations\": false,\n  \"check_specific_slots\": 0,\n  \"preliminary_filtering\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "planyo_online_booking_get_resource_blackouts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/resource/blackouts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "resource",
            "blackouts"
          ]
        },
        "description": "Tool to fetch blackout periods for a resource. Use when determining unavailable timeslots before booking.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"end_time\": 0,\n  \"start_time\": 0,\n  \"admin_email\": \"\",\n  \"resource_id\": 0,\n  \"admin_password\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "planyo_online_booking_get_resource_reviews",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/resource/reviews",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "resource",
            "reviews"
          ]
        },
        "description": "Tool to fetch reviews and ratings for a specific resource. Use when you have a resource_id and need to display customer feedback.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"resource_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}