Mews · Capability

Mews Connector API — Reservations

Self-contained Naftiko capability for the Mews Connector reservations surface. Covers listing, fetching, creating, updating, cancelling, and managing reservation groups via the JSON-over-HTTPS POST contract used by the Mews PMS Connector API.

Mews Connector API — Reservations is a Naftiko capability published by Mews, one of 8 capabilities the APIs.io network indexes for this provider. It bundles 4 operations across the POST method rooted at /v1/reservations.

The capability includes 1 read-only operation and 2 state-changing operations. Lead operation: List Mews reservations by filter. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Mews, Hospitality, and Reservations.

Run with Naftiko MewsHospitalityReservations

What You Can Do

POST
List — List reservations (proxies reservations/getAll).
/v1/reservations
POST
Create — Create reservations.
/v1/reservations
POST
Update — Update reservations.
/v1/reservations
POST
Cancel — Cancel reservations.
/v1/reservations

MCP Tools

mews-list-reservations

List Mews reservations by filter.

read-only idempotent
mews-create-reservation

Create one or more Mews reservations.

mews-cancel-reservation

Cancel one or more Mews reservations.

idempotent

Capability Spec

connector-reservations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mews Connector API — Reservations
  description: Self-contained Naftiko capability for the Mews Connector reservations surface. Covers
    listing, fetching, creating, updating, cancelling, and managing reservation groups via the JSON-over-HTTPS
    POST contract used by the Mews PMS Connector API.
  tags:
  - Mews
  - Hospitality
  - Reservations
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    MEWS_CLIENT_TOKEN: MEWS_CLIENT_TOKEN
    MEWS_ACCESS_TOKEN: MEWS_ACCESS_TOKEN
    MEWS_CLIENT: MEWS_CLIENT
capability:
  consumes:
  - type: http
    namespace: connector-reservations
    baseUri: https://api.mews.com
    description: Mews Connector — reservations resource group.
    resources:
    - name: reservations
      path: /api/connector/v1/reservations
      operations:
      - name: getAll
        method: POST
        description: Returns reservations matching the given filter, including state, time window, customer, and pagination cursor.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Filter parameters including ClientToken, AccessToken, Client, TimeFilter, StartUtc, EndUtc, States, Limitation/Cursor.
          required: true
      - name: getAllByIds
        method: POST
        description: Returns specific reservations by Id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
      - name: add
        method: POST
        description: Creates one or more reservations in a single reservation group.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
      - name: update
        method: POST
        description: Updates one or more reservations.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
      - name: cancel
        method: POST
        description: Cancels one or more reservations.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    authentication:
      type: body
      description: Mews Connector authenticates via JSON body tokens (ClientToken + AccessToken + Client) on every request.
      keys:
        ClientToken: '{{env.MEWS_CLIENT_TOKEN}}'
        AccessToken: '{{env.MEWS_ACCESS_TOKEN}}'
        Client: '{{env.MEWS_CLIENT}}'
  exposes:
  - type: rest
    namespace: connector-reservations-rest
    port: 8080
    description: REST adapter exposing reservation operations.
    resources:
    - path: /v1/reservations
      name: reservations
      description: Mews Connector reservation surface as REST.
      operations:
      - method: POST
        name: list
        description: List reservations (proxies reservations/getAll).
        call: connector-reservations.getAll
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: create
        description: Create reservations.
        call: connector-reservations.add
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: update
        description: Update reservations.
        call: connector-reservations.update
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: cancel
        description: Cancel reservations.
        call: connector-reservations.cancel
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: connector-reservations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mews Connector reservations.
    tools:
    - name: mews-list-reservations
      description: List Mews reservations by filter.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: connector-reservations.getAll
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mews-create-reservation
      description: Create one or more Mews reservations.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-reservations.add
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mews-cancel-reservation
      description: Cancel one or more Mews reservations.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: connector-reservations.cancel
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.