Merlonix Channels API

Alert notification channels (email, webhooks, SMS, PagerDuty, …).

GitHub OpenAPI

Operations 4

GET /v1/channels List channels #
POST /v1/channels Create a channel #
PATCH /v1/channels/{id} Update a channel #
DELETE /v1/channels/{id} Delete a channel #

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-channels-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-channels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Merlonix Public Channels 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: Channels
  description: Alert notification channels (email, webhooks, SMS, PagerDuty, …).
paths:
  /v1/channels:
    get:
      tags:
      - Channels
      summary: List channels
      description: All alert notification channels configured for the tenant.
      operationId: listChannels
      responses:
        '200':
          description: All channels.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Channel'
        '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:
      - Channels
      summary: Create a channel
      description: Create an alert notification channel. Requires a `write`-scoped key. The `target` shape depends on `kind` (email address, https webhook URL, `:` for telegram, routing/integration key for pagerduty/opsgenie, or an E.164 phone for sms) and is validated per-kind (`422` on a mismatch). For webhook kinds a signing secret is server-minted and returned only as a `signing_secret_preview`.
      operationId: createChannel
      requestBody:
        required: true
        description: The channel to create.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelCreate'
      responses:
        '201':
          description: The created channel.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Channel'
        '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'
        '422':
          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/channels/{id}:
    patch:
      tags:
      - Channels
      summary: Update a channel
      description: Update mutable fields of a channel (name, target, active state, severity filter). At least one field is required. Requires a `write`-scoped key.
      operationId: updateChannel
      parameters:
      - name: id
        in: path
        required: true
        description: Channel UUID.
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        description: The fields to update.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelUpdate'
      responses:
        '200':
          description: The updated channel.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Channel'
        '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'
        '422':
          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:
      - Channels
      summary: Delete a channel
      description: Delete a notification channel. Requires a `write`-scoped key.
      operationId: deleteChannel
      parameters:
      - name: id
        in: path
        required: true
        description: Channel 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:
    ChannelCreate:
      type: object
      description: Request body for creating a notification channel (TD-943).
      required:
      - kind
      - name
      - target
      properties:
        kind:
          type: string
          enum:
          - email
          - slack_webhook
          - generic_webhook
          - teams_webhook
          - discord_webhook
          - telegram
          - google_chat
          - pagerduty
          - opsgenie
          - sms
        name:
          type: string
          minLength: 1
          maxLength: 100
        target:
          type: string
          minLength: 1
          maxLength: 500
          description: email address for kind=email; https webhook URL for slack/teams/discord/google_chat/generic; "<bot_token>:<chat_id>" for telegram; routing/integration key for pagerduty; GenieKey for opsgenie; E.164 phone (+15551234567) for sms. Validated per-kind.
        severity_filter:
          type: array
          minItems: 1
          description: 'Severities that page this channel (default: all three).'
          items:
            type: string
            enum:
            - info
            - warning
            - critical
    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
    ChannelUpdate:
      type: object
      description: Request body for updating a channel — at least one field required (TD-943).
      minProperties: 1
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
        target:
          type: string
          minLength: 1
          maxLength: 500
        is_active:
          type: boolean
        severity_filter:
          type: array
          minItems: 1
          items:
            type: string
            enum:
            - info
            - warning
            - critical
    Channel:
      type: object
      description: An alert notification channel (mirrors AlertChannelPublicSchema).
      required:
      - id
      - tenant_id
      - kind
      - name
      - target
      - signing_secret_preview
      - is_active
      - severity_filter
      - created_at
      - last_delivery
      properties:
        id:
          type: string
          format: uuid
        tenant_id:
          type: string
          format: uuid
        kind:
          type: string
          enum:
          - email
          - slack_webhook
          - generic_webhook
          - teams_webhook
          - discord_webhook
          - telegram
          - google_chat
          - pagerduty
          - opsgenie
          - sms
        name:
          type: string
        target:
          type: string
          description: Destination; shape depends on kind (email / webhook URL / token:chat / routing key / E.164).
        signing_secret_preview:
          type:
          - string
          - 'null'
          description: First 6 chars of the webhook signing secret; null for email + slack channels.
        is_active:
          type: boolean
        severity_filter:
          type: array
          items:
            type: string
            enum:
            - info
            - warning
            - critical
        created_at:
          type: string
          format: date-time
        last_delivery:
          type:
          - object
          - 'null'
          description: 'TD-1220: most-recent alert delivery to this channel; null when none.'
          properties:
            status:
              type: string
            at:
              type: string
              format: date-time
            error_message:
              type:
              - string
              - 'null'
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: mk_live_…
      description: A Merlonix API key. Create one under Settings → API keys.