Lichess · Capability

Lichess API — Messaging

Lichess API — Messaging. 1 operation. Lead operation: Send a private message. Self-contained Naftiko capability covering one Lichess business surface.

Lichess API — Messaging is a Naftiko capability published by Lichess, one of 23 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/inbox/{…}.

The capability includes 1 state-changing operation. Lead operation: Send a private message. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Lichess and Messaging.

Run with Naftiko LichessMessaging

What You Can Do

POST
Inboxusername — Send a private message
/v1/inbox/{username}

MCP Tools

lichess-inboxusername

Send a private message

Capability Spec

messaging.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lichess API — Messaging
  description: 'Lichess API — Messaging. 1 operation. Lead operation: Send a private message. Self-contained Naftiko capability covering one Lichess business surface.'
  tags:
  - Lichess
  - Messaging
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    LICHESS_API_TOKEN: LICHESS_API_TOKEN
capability:
  consumes:
  - type: http
    namespace: messaging
    baseUri: https://lichess.org
    description: Lichess Messaging business capability. Self-contained, no shared references.
    resources:
    - name: inbox-username
      path: /inbox/{username}
      operations:
      - name: inboxusername
        method: POST
        description: 'Send a private message'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: username
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          required: false
    authentication:
      type: bearer
      value: '{{env.LICHESS_API_TOKEN}}'
      placement: header
  exposes:
  - type: rest
    namespace: messaging-rest
    port: 8080
    description: REST adapter for Lichess Messaging. One Spectral-compliant resource per consumed operation.
    resources:
    - path: /v1/inbox/{username}
      name: inbox-username
      description: REST surface for inbox-username.
      operations:
      - method: POST
        name: inboxusername
        description: 'Send a private message'
        call: messaging.inboxusername
        with:
          username: rest.path.username
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: messaging-mcp
    port: 9090
    transport: http
    description: MCP adapter for Lichess Messaging. One tool per consumed operation.
    tools:
    - name: lichess-inboxusername
      description: 'Send a private message'
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: messaging.inboxusername
      with:
        username: tools.username
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.