Merlonix Clients API

Client buckets that group assets.

GitHub OpenAPI

Operations 5

GET /v1/clients List clients #
POST /v1/clients Create a client #
GET /v1/clients/{id} Get a client #
PATCH /v1/clients/{id} Update a client #
DELETE /v1/clients/{id} Delete a client #

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/merlonix-com:merlonix-com-clients-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

merlonix-com-clients-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Merlonix Public Clients API
  version: 1.0.0
  description: 'Programmatic access to your Merlonix monitoring data — assets, SSL/DNS check history, alerts, clients, and status pages.


    ## Authentication


    Authenticate every request with an API key as a bearer token:


    ```

    Authorization: Bearer mk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    ```


    Create and revoke keys in the dashboard under **Settings → API keys**. The plaintext key is shown exactly once at creation.


    ## Scopes


    A key carries one of two scope sets:


    - **`read`** (default) — `GET` requests only. Any mutating method returns `403`.

    - **`read,write`** — additionally permits `POST`/`PATCH`/`DELETE` to create, update, and delete assets, channels, clients, and status pages. Choose the scope when minting the key.


    A write key onboards assets one at a time (`POST /v1/assets`) or in bulk (`POST /v1/assets/bulk`, up to 100 per call). Plan asset quotas and the per-tier minimum check interval are enforced identically to the dashboard.


    ## Rate limits


    Requests are rate-limited per tenant by plan tier. Exceeding the limit returns `429` with a `Retry-After` header.'
  contact:
    name: Merlonix Support
    url: https://merlonix.com/support
servers:
- url: https://api.merlonix.com
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Clients
  description: Client buckets that group assets.
paths:
  /v1/clients:
    get:
      tags:
      - Clients
      summary: List clients
      description: All client buckets for the tenant, each with its active asset count.
      operationId: listClients
      responses:
        '200':
          description: All clients.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Client'
        '401':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      tags:
      - Clients
      summary: Create a client
      description: Create a client bucket to group assets. Requires a `write`-scoped key. The `slug` is derived from the name when omitted and must be unique per tenant (`409` on collision).
      operationId: createClient
      requestBody:
        required: true
        description: The client to create.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientCreate'
      responses:
        '201':
          description: The created client.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Client'
        '400':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/clients/{id}:
    get:
      tags:
      - Clients
      summary: Get a client
      operationId: getClient
      parameters:
      - name: id
        in: path
        required: true
        description: Client UUID.
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: The client.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Client'
        '401':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      tags:
      - Clients
      summary: Update a client
      description: Update mutable fields of a client (name, slug, logo, brand color). Requires a `write`-scoped key. The catch-all Unassigned bucket cannot be edited (`403`).
      operationId: updateClient
      parameters:
      - name: id
        in: path
        required: true
        description: Client UUID.
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        description: The fields to update.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientUpdate'
      responses:
        '200':
          description: The updated client.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Client'
        '400':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      tags:
      - Clients
      summary: Delete a client
      description: Delete a client bucket; its assets fall back to Unassigned. Requires a `write`-scoped key. The Unassigned bucket cannot be deleted (`403`).
      operationId: deleteClient
      parameters:
      - name: id
        in: path
        required: true
        description: Client UUID.
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: Deleted — no content.
        '401':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error — canonical envelope with a trace_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ClientCreate:
      type: object
      description: Request body for creating a client bucket (TD-943).
      required:
      - name
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        slug:
          type: string
          description: URL-safe slug; derived from name when omitted. Unique per tenant.
        logo_url:
          type: string
          format: uri
          description: https logo URL.
        brand_color:
          type: string
          description: 'Hex color (e.g. #1a2b3c).'
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - trace_id
          properties:
            code:
              type: string
              description: Stable machine-readable error code.
            message:
              type: string
              description: Human-readable explanation.
            trace_id:
              type: string
              description: Request trace id — quote it in support tickets.
            details:
              type: array
              description: Per-field validation issues, when applicable.
              items:
                type: object
                properties:
                  path:
                    type: string
                  issue:
                    type: string
    Client:
      type: object
      required:
      - id
      - tenant_id
      - slug
      - name
      - logo_url
      - brand_color
      - is_unassigned
      - asset_count
      - created_at
      - updated_at
      properties:
        id:
          type: string
          format: uuid
        tenant_id:
          type: string
          format: uuid
        slug:
          type: string
        name:
          type: string
        logo_url:
          type:
          - string
          - 'null'
        brand_color:
          type:
          - string
          - 'null'
        is_unassigned:
          type: boolean
          description: True for the catch-all Unassigned bucket.
        asset_count:
          type: integer
          minimum: 0
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    ClientUpdate:
      type: object
      description: Request body for updating a client (all fields optional; TD-943).
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        slug:
          type: string
        logo_url:
          type:
          - string
          - 'null'
          format: uri
        brand_color:
          type:
          - string
          - 'null'
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: mk_live_…
      description: A Merlonix API key. Create one under Settings → API keys.