Matrix · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Matrix Client-Server Rooms API

5 actions 5 updates phrasing extends openapi/matrix-rooms-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Matrix's API. It is a proposal applied on top of the contract, not a document Matrix publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/v3/rooms/{roomId}/leave'].post
$.paths['/v3/rooms/{roomId}/invite'].post
$.paths['/v3/rooms/{roomId}/send/{eventType}/{txnId}'].put
$.paths['/v3/rooms/{roomId}/messages'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Matrix Client-Server Rooms API
  version: 1.0.0
extends: openapi/matrix-rooms-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/v3/rooms/{roomId}/leave'].post
  update:
    x-apievangelist-phrasing:
      intent: Leave a room
      effect: destructive
      questions:
      - How do I leave a room I no longer want to be in?
      - Can I exit a room without deleting it?
      instructions:
      - text: Leave room {roomId}.
        slots:
          roomId: path.roomId
      - text: Exit the room {roomId} so I stop receiving its messages.
        slots:
          roomId: path.roomId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v3/rooms/{roomId}/invite'].post
  update:
    x-apievangelist-phrasing:
      intent: Invite a user to a room
      effect: write
      questions:
      - How do I invite someone to a room?
      - Can I add a new user to a room by their user ID?
      instructions:
      - text: Invite {user_id} to room {roomId}.
        slots:
          user_id: requestBody.user_id
          roomId: path.roomId
      - text: Add {user_id} to room {roomId} so they can join.
        slots:
          user_id: requestBody.user_id
          roomId: path.roomId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v3/rooms/{roomId}/send/{eventType}/{txnId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Send a message to a room
      effect: write
      questions:
      - How do I send a message to a room?
      - Can I send an event to a room with a transaction ID?
      instructions:
      - text: Send a {eventType} event to room {roomId} with transaction ID {txnId}.
        slots:
          eventType: path.eventType
          roomId: path.roomId
          txnId: path.txnId
      - text: Post a {eventType} message in room {roomId} using {txnId}.
        slots:
          eventType: path.eventType
          roomId: path.roomId
          txnId: path.txnId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v3/rooms/{roomId}/messages'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a room's message history
      effect: read
      questions:
      - How do I read the message history of a room?
      - Can I fetch messages sent between two timestamps?
      instructions:
      - text: Get message history for room {roomId}.
        slots:
          roomId: path.roomId
      - text: Show messages in room {roomId} from {from} to {to}.
        slots:
          roomId: path.roomId
          from: query.from
          to: query.to
      method: generated
      generated: '2026-11-20'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/matrix-rooms-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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