MarkMesh System API

Liveness check and API-key introspection. Both endpoints are integration-readiness staples: `GET /v1/health` for uptime monitoring, `GET /v1/introspect` to verify which key is talking and which organisation it's bound to.

GitHub OpenAPI

Operations 2

GET /health Health #
GET /introspect Verify API key #

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/markmesh-com:markmesh-com-system-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. 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.

OpenAPI Specification

markmesh-com-system-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'The MarkMesh REST API is a JSON:API-compliant interface for

    managing trademarks, filings, clients and watches. It is the

    same surface used by the MarkMesh web UI, exposed for machine

    integrations under the `mm_live_*` / `mm_test_*` API-key auth. Two integration shapes:


    - **Customer-self** — you manage your own organisation''s

    trademark portfolio. Use the resource tags (Clients,

    Trademarks, Filings, Watches) directly. - **Partner / agency** — you manage *other* organisations''

    portfolios on their behalf. Read managed-orgs and their data

    via the **Partner** tag; create or update by passing

    `organization_id` on the existing customer-side endpoints. Each call requires an active `PartnerRelationship`. ## Quickstart


    1. Create an API key in the dashboard at `/api/keys` (live or sandbox). 2. Set the `Authorization: Bearer mm_live_…` header on every request. 3. Hit `GET /v1/introspect` to confirm the key is valid and to see

    which organisation it is bound to. 4. Browse the endpoint reference below or jump to one of the

    guides. ```bash

    curl https://api.markmesh.com/v1/introspect \

    -H "Authorization: Bearer mm_live_xxxxxxxx"

    ```


    ---


    ## Authentication


    Every request must carry a Bearer token in the `Authorization`

    header. Token prefixes:


    - `mm_live_*` — production keys, bound to a live organisation,

    hit live trademark-office APIs

    - `mm_test_*` — sandbox keys, bound to a sandbox organisation,

    backed by the sandbox dataset described below


    Tokens are shown **once** at creation. Lost a token? Revoke and

    recreate. Tokens are scoped to one organisation. A `mm_live_*`

    key against a sandbox organisation — or vice versa — returns

    `401 environment_mismatch`. ---


    ## Sandbox


    Sandbox keys (`mm_test_*`) run against a curated test dataset

    designed for integration testing and CI. Same routes, same

    JSON:API shapes, same headers as production — only the data

    your customer code consumes changes. Production logic runs

    unmodified. Every office in sandbox is covered by **deterministic test

    data**: each office exposes three known marks with stable

    identifiers (`MM--001/002/003`), owner

    `MarkMesh Sandbox Co.`, a mix of `:registered` and `:pending`

    status. The same query against the same office returns the

    same hits today, tomorrow, next year — so your CI can assert

    exact mark numbers, dates, and Nice/Vienna classes without

    flakiness. Search is case-insensitive substring on `mark_text`,

    `application_number`, and `registration_number`:


    ```bash

    # Returns the "ALPHA" mark from each requested office

    curl ''https://api.markmesh.com/v1/search?q=ALPHA&offices=FR,JP,KR,ES'' \

    -H "Authorization: Bearer mm_test_xxxxxxxx"


    # Exact-number lookup — registers a sandbox filing on a trademark

    curl ''https://api.markmesh.com/v1/filings/import_from_office'' \

    -H "Authorization: Bearer mm_test_xxxxxxxx" \

    -d ''{"office":"FR","number":"MM-FR-001","trademark_id":""}''

    ```


    Sandbox organisations also short-circuit billing operations

    (Stripe is never called from sandbox), enforce per-resource

    storage caps (100 trademarks / 200 filings / 50 clients), and

    expose a `reset_sandbox` action that wipes all data in one

    call — perfect for resetting state between CI runs. No production filings are ever created against an office from

    a sandbox key. ---


    ## Pagination


    List endpoints use **keyset pagination** — no offset, no

    `page=2`. The response carries a `meta.page` block with

    `after` / `before` / `total_count`; pass the cursor back via

    `page[after]=…` to fetch the next slice. - `page[limit]` — page size (default 25, max 100)

    - `page[after]` — keyset cursor returned in the previous response


    ```bash

    curl ''https://api.markmesh.com/v1/filings?page[limit]=10'' \

    -H "Authorization: Bearer mm_live_xxxxxxxx"

    ```


    Sorting and filtering have their own sections below; both

    layer on top of pagination via separate query params. ---


    ## Sorting


    Every list endpoint accepts a `sort` query parameter. Pass one

    or more attribute names, comma-separated; prefix with `-` for

    descending order.'
  title: MarkMesh System API
  version: v1
servers:
- description: Production API surface
  url: https://api.markmesh.com/v1
security:
- bearerAuth: []
tags:
- description: 'Liveness check and API-key introspection. Both endpoints are integration-readiness staples: `GET /v1/health` for uptime monitoring, `GET /v1/introspect` to verify which key is talking and which organisation it''s bound to.'
  name: System
paths:
  /health:
    get:
      description: Returns 200 OK with `{status, api_version, timestamp}`. Public, no auth required. Suitable for uptime monitors — no DB hit, no rate-limit.
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                example:
                  api_version: v1
                  status: ok
                  timestamp: '2026-05-27T18:42:01.123456Z'
                properties:
                  api_version:
                    description: The major API version this endpoint belongs to. Currently always `"v1"`; a future breaking change would ship under `"v2"` at a separate base path, and this field would let monitors detect the version they're hitting.
                    type: string
                  status:
                    description: 'Always `"ok"` when the response reaches the caller. The endpoint is a liveness probe: if the API can answer at all, it answers `ok`. An unreachable service returns no JSON body (connection refused or upstream 5xx).'
                    enum:
                    - ok
                    type: string
                  timestamp:
                    format: date-time
                    type: string
                required:
                - status
                - api_version
                - timestamp
                type: object
          description: Service is alive
      security: []
      summary: Health
      tags:
      - System
      operationId: getHealth
      x-operation-id-source: derived
  /introspect:
    get:
      description: Returns metadata about the calling API key + its owning organization. Useful for verifying credentials before making real calls.
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                example:
                  data:
                    api_key:
                      environment: live
                      expires_at: null
                      id: 550e8400-e29b-41d4-a716-446655440000
                      last_4: a3f2
                      name: Production server
                      prefix: mm_live_
                      rate_limit_per_minute: 300
                    organization:
                      id: 6c3b7a8e-d61f-4f3a-9c2b-7f0d8b1c5a40
                      name: Acme Trademarks Ltd
                properties:
                  data:
                    properties:
                      api_key:
                        properties:
                          environment:
                            enum:
                            - live
                            - test
                            type: string
                          expires_at:
                            description: RFC 3339 timestamp (e.g. `2027-06-30T12:00:00Z`). `null` means the key has no expiry.
                            format: date-time
                            type:
                            - string
                            - 'null'
                          id:
                            description: Stable identifier for this API key.
                            format: uuid
                            type: string
                          last_4:
                            description: Last 4 characters of the full token, for visual identification in dashboards.
                            type: string
                          name:
                            description: Human-readable name set when the key was created.
                            type: string
                          prefix:
                            description: Token prefix indicating environment (`mm_live_` or `mm_test_`).
                            type: string
                          rate_limit_per_minute:
                            description: 'Per-minute request budget for this key. Defaults: 300 for live, 60 for test.'
                            type: integer
                        type: object
                      organization:
                        properties:
                          id:
                            description: Stable identifier for the organization that owns this API key.
                            format: uuid
                            type: string
                          name:
                            description: Display name of the organization.
                            type: string
                        type: object
                    type: object
                type: object
          description: API key + org metadata
        '401':
          description: API key missing, invalid, expired, or revoked
      security:
      - ApiKey: []
      summary: Verify API key
      tags:
      - System
      operationId: getIntrospect
      x-operation-id-source: derived
components:
  securitySchemes:
    ApiKey:
      bearerFormat: Opaque API key (prefix mm_live_ or mm_test_)
      description: Static API key for machine integrations. Issued via the UI at `/account/api-keys`. Prefix `mm_live_*` for production, `mm_test_*` for sandbox. Tokens are shown ONCE at creation — store them immediately.
      scheme: bearer
      type: http
    UserJWT:
      bearerFormat: JWT
      description: Session credential issued when signing in through the MarkMesh dashboard (magic-link or passkey). Used by the dashboard itself; most external integrations should authenticate with an API key instead.
      scheme: bearer
      type: http
    bearerAuth:
      bearerFormat: JWT
      description: JWT for bearer authentication
      scheme: bearer
      type: http