MarkMesh Membership API

Read-only listing of the team members on your organisation. Each row exposes the member's role (admin / member), their join date, and basic identity info (user id, name, email). Adding or removing members is not part of the public API — invites go through the dashboard via an email double-opt-in flow.

GitHub OpenAPI

Operations 2

GET /memberships List memberships #
GET /memberships/{id} Retrieve a membership #

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-membership-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-membership-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 Membership API
  version: v1
servers:
- description: Production API surface
  url: https://api.markmesh.com/v1
security:
- bearerAuth: []
tags:
- description: Read-only listing of the team members on your organisation. Each row exposes the member's role (admin / member), their join date, and basic identity info (user id, name, email). Adding or removing members is not part of the public API — invites go through the dashboard via an email double-opt-in flow.
  name: Membership
paths:
  /memberships:
    get:
      deprecated: false
      description: 'List memberships.


        **Filterable attributes**: `id`, `joined_at`, `role`, `user_email`, `user_id`, `user_name`. See the `Filtering` section under Introduction for the query syntax.


        **Sortable attributes**: `id`, `joined_at`, `role`, `user_email`, `user_id`, `user_name`. See the `Sorting` section under Introduction for the syntax.'
      parameters: []
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    description: An array of resource objects representing a membership
                    items:
                      additionalProperties: false
                      description: A "Resource object" representing a membership
                      properties:
                        attributes:
                          additionalProperties: false
                          description: An attributes object for a membership
                          properties:
                            joined_at:
                              description: Timestamp when the user joined this organization. Field included by default.
                            role:
                              description: 'Member''s role in the organization: admin (full control and management), member (standard access). Field included by default.'
                              enum:
                              - admin
                              - member
                              type: string
                            user_email:
                              anyOf:
                              - type:
                                - string
                                - 'null'
                              - type: 'null'
                              description: Member's email address. Field included by default.
                            user_id:
                              description: Field included by default.
                              format: uuid
                              type: string
                            user_name:
                              anyOf:
                              - type:
                                - string
                                - 'null'
                              - type: 'null'
                              description: Member's display name (first + last name, falls back to email when name fields are blank). Field included by default.
                          required:
                          - role
                          - joined_at
                          - user_id
                          type: object
                        id:
                          type: string
                        relationships:
                          additionalProperties: false
                          description: A relationships object for a membership
                          properties: {}
                          type: object
                        type:
                          type: string
                      required:
                      - type
                      - id
                      type: object
                    type: array
                    uniqueItems: true
                type: object
          description: Success
        '401':
          description: API key or session credential missing, invalid, expired, or revoked
      security:
      - UserJWT: []
      - ApiKey: []
      summary: List memberships
      tags:
      - Membership
      operationId: getMemberships
      x-operation-id-source: derived
  /memberships/{id}:
    get:
      deprecated: false
      description: Retrieve a membership by id. Scoped to the calling actor's organisation.
      parameters:
      - description: Team-member UUID. Get the list from `GET /v1/memberships`.
        in: path
        name: id
        required: true
        schema:
          format: uuid
          type: string
        style: form
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    additionalProperties: false
                    description: A "Resource object" representing a membership
                    properties:
                      attributes:
                        additionalProperties: false
                        description: An attributes object for a membership
                        properties:
                          joined_at:
                            description: Timestamp when the user joined this organization. Field included by default.
                          role:
                            description: 'Member''s role in the organization: admin (full control and management), member (standard access). Field included by default.'
                            enum:
                            - admin
                            - member
                            type: string
                          user_email:
                            anyOf:
                            - type:
                              - string
                              - 'null'
                            - type: 'null'
                            description: Member's email address. Field included by default.
                          user_id:
                            description: Field included by default.
                            format: uuid
                            type: string
                          user_name:
                            anyOf:
                            - type:
                              - string
                              - 'null'
                            - type: 'null'
                            description: Member's display name (first + last name, falls back to email when name fields are blank). Field included by default.
                        required:
                        - role
                        - joined_at
                        - user_id
                        type: object
                      id:
                        type: string
                      relationships:
                        additionalProperties: false
                        description: A relationships object for a membership
                        properties: {}
                        type: object
                      type:
                        type: string
                    required:
                    - type
                    - id
                    type: object
          description: Success
        '401':
          description: API key or session credential missing, invalid, expired, or revoked
        '404':
          description: Resource not found, or not visible to this actor
      security:
      - UserJWT: []
      - ApiKey: []
      summary: Retrieve a membership
      tags:
      - Membership
      operationId: getMembershipsById
      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