FlatWhite Properties — API, MCP and developer resources
Read public FlatWhite Properties company information and contact details for accommodation reservations and short-term rental property management. These tools do not access prices, availability, bookings or private guest data. For a booking integration contact office@flatwhite.ro.
Customer Service and emergencies
Română
Pentru cereri, rezervări și informații, echipa noastră de Customer Service este disponibilă zilnic între 09:00 și 21:00, ora României.
Pentru urgențe apărute pe durata șederii, asistența este disponibilă 24/7, la numărul de telefon comunicat în informațiile rezervării.
English
For requests, reservations and information, our Customer Service team is available daily from 9:00 AM to 9:00 PM, Romania time.
For emergencies during your stay, assistance is available 24/7 at the phone number provided in your booking information.
Public information API
No authentication or API key is required. Use GET or HEAD. Request Accept: application/json. Make sequential requests and cache public details where appropriate; hosting protections may apply. The REST application quota is 60 requests per connecting IP per 60-second fixed window; read the RateLimit headers and honor Retry-After on HTTP 429. Hosting protections may impose stricter limits.
- API discovery: version and integration links.
- OpenAPI 3.1.1 specification: typed parameters and responses, unique operation IDs and descriptions. Operation IDs can be mapped to function calls.
- Company details: getCompanyInfo.
- Reservations contact: getContactDetails with team=reservations.
- Property management contact: getContactDetails with team=property-management.
curl -sS -H 'Accept: application/json' https://flatwhite.ro/api/v1/company
curl -sS -H 'Accept: application/json' https://flatwhite.ro/api/v1/contacts/reservations
Errors use application/json with error.code, error.message, error.hint and error.docs. HTTP 400 means invalid query parameters, 404 an unknown resource or team, 405 an unsupported method (use GET/HEAD), and 406 an unsupported representation (request JSON). Infrastructure-level blocks may return a different format before WordPress runs.
Rate limits, API versioning and deprecation
API policy: quota and retry behavior, REST versioning and deprecation. Current v1 is supported, with no planned retirement. Planned retirements target at least 90 days of notice, subject to the documented exceptions.
Typed function definitions and route mappings: getCompanyInfo accepts an empty object; getContactDetails requires the team. An adapter executes the corresponding HTTPS GET request.
MCP — Streamable HTTP
Endpoint: https://flatwhite.ro/mcp . Public read-only access, no authentication. Supports protocol versions 2025-11-25, 2025-06-18 and 2025-03-26. The server is stateless and returns JSON responses to POST messages. It does not offer an unsolicited GET SSE stream (GET returns 405), issue sessions, or send server requests. An Origin header, when present, must be https://flatwhite.ro or https://www.flatwhite.ro. Request bodies are limited to 16 KiB.
Initialize, send notifications/initialized, then tools/list or tools/call. Use Content-Type: application/json, Accept: application/json, text/event-stream and MCP-Protocol-Version matching the negotiated version on subsequent requests.
curl -sS https://flatwhite.ro/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' --data '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"example","version":"1.0"}}}'
curl -sS https://flatwhite.ro/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-11-25' --data '{"jsonrpc":"2.0","method":"notifications/initialized"}'
curl -sS https://flatwhite.ro/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-11-25' --data '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"getContactDetails","arguments":{"team":"reservations"}}}'
Tools: getCompanyInfo takes an empty object. getContactDetails requires team, either reservations or property-management. Both are read-only and idempotent. Protocol errors use JSON-RPC 2.0 error codes and data.hint. Accepted notifications return 202 without a body. MCP does not require a universal manifest URL; configure the endpoint directly.
Official CLI
- Download FlatWhite Properties CLI 1.0.0: JavaScript module source, Node.js 20 or newer, no dependencies or credentials. Download and inspect the file before running it.
node flatwhite-cli.mjs --help
node flatwhite-cli.mjs company
node flatwhite-cli.mjs contact reservations
node flatwhite-cli.mjs contact property-management
The CLI is distributed from this official domain. It has not been published to npm, PyPI or Homebrew. Exit codes: 0 success/help, 1 network/HTTP/response error, 2 invalid command.
Website retrieval and discovery
- Homepage: Accept: text/markdown for Markdown, text/html for HTML; Vary: Accept.
- Homepage Markdown alias: direct Markdown access.
- llms.txt: curated resource index.
- Agent instructions: when-to-use guidance and accuracy limits.
- Sitemap: public pages.
- Crawling rules: infrastructure policies also apply.
Unknown website paths return 404 with Markdown when requested. Unsupported homepage/docs representations return 406. Honor Vary: Accept. Do not infer booking confirmation or guaranteed property income from these resources.