{"openapi":"3.1.0","info":{"title":"Cloudbeds (BYOK) API","version":"0.1.0","description":"Cloudbeds (BYOK) lets an AI assistant read your own Cloudbeds data through the Cloudbeds API with a key you supply (Cloudbeds API key). Read-only: 9 tools (list_hotels, get_hotel_details, list_room_types, list_rooms, list_reservations, list_available_room_types, list_rate_plans, list_booking_sources, get_housekeeping_status). The BYOK key travels with each request, is used for that one call only...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-cloudbeds.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-cloudbeds/docs"},"termsOfService":"https://connectorbay.com/byok-cloudbeds/terms"},"servers":[{"url":"https://byok-cloudbeds.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-cloudbeds/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_hotels":{"post":{"operationId":"list_hotels","summary":"List the Cloudbeds properties the key can access, with name, time zone, currency and image. Filter by name or city. Use ","description":"List the Cloudbeds properties the key can access, with name, time zone, currency and image. Filter by name or city. Use for \"Which Cloudbeds properties can this key see\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"property_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated Cloudbeds property IDs to include, for example '37,345'. Leave empty for the properties the key can see.","title":"Property Ids"},"property_name":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Property name or part of it.","title":"Property Name"},"property_city":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"City name or part of it.","title":"Property City"},"page_number":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page Number"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page.","title":"Page Size"}},"title":"list_hotelsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_hotel_details":{"post":{"operationId":"get_hotel_details","summary":"Get one property's profile: type, address and coordinates, phone, check-in and check-out times, amenities, currency and ","description":"Get one property's profile: type, address and coordinates, phone, check-in and check-out times, amenities, currency and booking URL. Use for \"What are the check-in time and address of property 37\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"property_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Cloudbeds property ID; may be left out when the key belongs to a single property.","title":"Property Id"}},"title":"get_hotel_detailsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_room_types":{"post":{"operationId":"list_room_types","summary":"List the room types of one or more properties with capacity and descriptions; with dates and guests it also returns rate","description":"List the room types of one or more properties with capacity and descriptions; with dates and guests it also returns rates. Use for \"What room types does property 37 offer and how many guests fit\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"property_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated Cloudbeds property IDs to include, for example '37,345'. Leave empty for the properties the key can see.","title":"Property Ids"},"room_type_name":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Filter by room type name.","title":"Room Type Name"},"property_city":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Filter by property city.","title":"Property City"},"start_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Check-in date YYYY-MM-DD; with end_date, adults and children it makes rates appear.","title":"Start Date"},"end_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Check-out date YYYY-MM-DD.","title":"End Date"},"page_number":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page Number"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page.","title":"Page Size"}},"title":"list_room_typesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_rooms":{"post":{"operationId":"list_rooms","summary":"List the individual rooms of a property with name, capacity and room type. With dates it returns only rooms still unassi","description":"List the individual rooms of a property with name, capacity and room type. With dates it returns only rooms still unassigned in that period. Use for \"Which rooms are free from 10 to 12 November at property 37\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"property_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated Cloudbeds property IDs to include, for example '37,345'. Leave empty for the properties the key can see.","title":"Property Ids"},"room_type_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated room type IDs to include.","title":"Room Type Id"},"start_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Only unassigned rooms in the period starting on this YYYY-MM-DD date (needs end_date).","title":"Start Date"},"end_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"End of the period, YYYY-MM-DD.","title":"End Date"},"page_number":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page Number"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page.","title":"Page Size"}},"title":"list_roomsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_reservations":{"post":{"operationId":"list_reservations","summary":"List reservations with status, stay dates, guest count, balance and booking source. Filter by status, booking, modificat","description":"List reservations with status, stay dates, guest count, balance and booking source. Filter by status, booking, modification or stay dates. Contact details are not requested. Use for \"Which reservations check in next week at property 37\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"property_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated property IDs; may be left out for a single-property key.","title":"Property Id"},"status":{"anyOf":[{"enum":["not_confirmed","confirmed","canceled","checked_in","checked_out","no_show"],"type":"string"},{"type":"null"}],"default":null,"description":"Reservation status.","title":"Status"},"check_in_from":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Only stays checking in on or after this YYYY-MM-DD date.","title":"Check In From"},"check_in_to":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Only stays checking in on or before this YYYY-MM-DD date.","title":"Check In To"},"check_out_from":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Only stays checking out on or after this YYYY-MM-DD date.","title":"Check Out From"},"check_out_to":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Only stays checking out on or before this YYYY-MM-DD date.","title":"Check Out To"},"modified_from":{"anyOf":[{"maxLength":25,"type":"string"},{"type":"null"}],"default":null,"description":"Only reservations modified after this date or datetime.","title":"Modified From"},"page_number":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page Number"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Results per page (maximum 100).","title":"Page Size"}},"title":"list_reservationsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_available_room_types":{"post":{"operationId":"list_available_room_types","summary":"Search room types that are available for a stay, with rate, rate plan name and rooms left. Free to call; it does not cre","description":"Search room types that are available for a stay, with rate, rate plan name and rooms left. Free to call; it does not create a booking. Use for \"What can I book at property 37 for two adults from 10 to 12 November, cheapest first\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"start_date":{"description":"Check-in date as YYYY-MM-DD.","maxLength":10,"title":"Start Date","type":"string"},"end_date":{"description":"Check-out date as YYYY-MM-DD.","maxLength":10,"title":"End Date","type":"string"},"rooms":{"description":"Number of rooms wanted.","maximum":20,"minimum":1,"title":"Rooms","type":"integer"},"adults":{"description":"Number of adults.","maximum":20,"minimum":1,"title":"Adults","type":"integer"},"children":{"description":"Number of children.","maximum":20,"minimum":0,"title":"Children","type":"integer"},"property_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated Cloudbeds property IDs to include, for example '37,345'. Leave empty for the properties the key can see.","title":"Property Ids"},"sort":{"anyOf":[{"enum":["room_name","hotel_name","room_price","hotel_stars"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort by room_name, hotel_name, room_price or hotel_stars.","title":"Sort"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":"asc","description":"asc or desc.","title":"Order"},"max_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Only room types with a daily rate up to this value.","title":"Max Rate"},"page_number":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page Number"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page.","title":"Page Size"}},"required":["start_date","end_date","rooms","adults","children"],"title":"list_available_room_typesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_rate_plans":{"post":{"operationId":"list_rate_plans","summary":"List the rate plans and room rates that apply to a stay, with base rate, total, rate plan names and rooms available. Use","description":"List the rate plans and room rates that apply to a stay, with base rate, total, rate plan names and rooms available. Use for \"Which rate plans apply to a stay from 10 to 12 November at property 37\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"start_date":{"description":"Check-in date as YYYY-MM-DD.","maxLength":10,"title":"Start Date","type":"string"},"end_date":{"description":"Check-out date as YYYY-MM-DD.","maxLength":10,"title":"End Date","type":"string"},"property_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated Cloudbeds property IDs to include, for example '37,345'. Leave empty for the properties the key can see.","title":"Property Ids"},"room_type_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated room type IDs to include.","title":"Room Type Id"},"adults":{"anyOf":[{"maximum":20,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of adults.","title":"Adults"},"children":{"anyOf":[{"maximum":20,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of children.","title":"Children"},"promo_code":{"anyOf":[{"maxLength":50,"type":"string"},{"type":"null"}],"default":null,"description":"Promo code whose rate plans should be included.","title":"Promo Code"}},"required":["start_date","end_date"],"title":"list_rate_plansArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_booking_sources":{"post":{"operationId":"list_booking_sources","summary":"List the booking sources of a property (direct, OTAs, others) with commission percentage, payment collection type and ac","description":"List the booking sources of a property (direct, OTAs, others) with commission percentage, payment collection type and active status. Use for \"What commission does each booking source charge at property 37\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"property_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated Cloudbeds property IDs to include, for example '37,345'. Leave empty for the properties the key can see.","title":"Property Ids"}},"title":"list_booking_sourcesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_housekeeping_status":{"post":{"operationId":"get_housekeeping_status","summary":"List rooms with cleaning condition, occupancy, blocked flag, front desk status and do-not-disturb markers for today. Use","description":"List rooms with cleaning condition, occupancy, blocked flag, front desk status and do-not-disturb markers for today. Use for \"Which rooms at property 37 are dirty and unoccupied\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"property_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Cloudbeds property ID; may be left out for a single-property key.","title":"Property Id"},"room_condition":{"anyOf":[{"enum":["clean","dirty"],"type":"string"},{"type":"null"}],"default":null,"description":"Only rooms with this condition.","title":"Room Condition"},"room_occupied":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for occupied rooms only, false for vacant only.","title":"Room Occupied"},"page_number":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page Number"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"Results per page (maximum 5000).","title":"Page Size"}},"title":"get_housekeeping_statusArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}