GetMyHotels Chat API

The chat API from GetMyHotels — 14 operation(s) for chat.

GitHub OpenAPI

Operations 16

GET /v1/composer/analyze Suggest date, destination and guest chips for a half-typed chat message #
GET /v1/chat/sessions List my chat sessions #
GET /v1/chat/sessions/{sessionPublicId}/messages Chat session history #
DELETE /v1/chat/sessions/{sessionPublicId} Delete a chat session #
PATCH /v1/chat/sessions/{sessionPublicId} Rename a chat session #
POST /v1/chat/sessions/{sessionPublicId}/pin Pin or unpin a chat session #
POST /v1/chat/sessions/{sessionPublicId}/archive Archive or unarchive a chat session #
POST /v1/chat/sessions/{sessionPublicId}/share Create a chat share link #
POST /v1/chat/guest-session Mint a chat session for streaming #
POST /v1/chat/claim-guest-session Claim a guest chat session after sign-in #
POST /v1/chat/messages/{messagePublicId}/feedback Rate an assistant message #
DELETE /v1/chat/messages/{messagePublicId}/feedback Withdraw a rating #
POST /v1/chat/messages/{messagePublicId}/edit Edit one of my earlier prompts #
POST /v1/chat/messages/{messagePublicId}/regenerate Ask for a different answer #
POST /v1/chat/messages/{messagePublicId}/variant Select a conversation branch #
POST /api/chat AI chat streaming (SSE) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/getmyhotels-com:getmyhotels-com-chat-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

getmyhotels-com-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GetMyHotels REST Chat API
  version: 1.0.0
  description: REST surface for the native GetMyHotels apps. Every route is a thin transport over the shared tRPC routers — inputs are validated with the same Zod schemas the web client uses, and responses are returned verbatim. Authentication uses Better Auth bearer session tokens issued by the /api/auth/* endpoints (not part of this spec). Native clients send X-GMH-App-Version and X-GMH-Platform on every request; versions below the configured floor receive a typed 426 UpgradeRequiredError.
servers:
- url: https://api.getmyhotels.com
  description: Production API
tags:


# --- truncated at 32 KB (36 KB total) ---
# Full source: https://artifacts.apis.io/getmyhotels-com/openapi/getmyhotels-com-chat-api-openapi.yml