Hookbase Alert Rules API

The Alert Rules API from Hookbase — 3 operation(s) for alert rules.

Operations 6

POST /api/alert-rules Create alert rule #
GET /api/alert-rules List alert rules #
GET /api/alert-rules/{alertRuleId} Get alert rule #
PATCH /api/alert-rules/{alertRuleId} Update alert rule #
DELETE /api/alert-rules/{alertRuleId} Delete alert rule #
POST /api/alert-rules/{alertRuleId}/test Test alert rule #

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/hookbase:hookbase-alert-rules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hookbase-alert-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hookbase Alert Rules API
  version: 1.0.0
  description: Official OpenAPI 3.0 specification for the Hookbase webhook relay platform. Generated from the maintained Postman collection. Authenticate with an API key (whr_ prefix) as a Bearer token.
  contact:
    name: Hookbase
    url: https://www.hookbase.app
servers:
- url: https://api.hookbase.app
  description: Production
security:
- bearerAuth: []
tags:
- name: Alert Rules
paths:
  /api/alert-rules:
    post:
      tags:
      - Alert Rules
      summary: Create alert rule
      operationId: alert_rules_create_alert_rule
      responses:
        '200':
          description: Successful response
      description: Create a rule that notifies channels on source silence, failure/latency spikes, volume anomalies, or schema drift.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Required. Rule name (1–100).
                triggerType:
                  type: string
                  description: Required. source_silence | failure_rate | latency_threshold | volume_spike | volume_drop | anomaly_volume | schema_drift.
                triggerConfig:
                  type: object
                  description: 'Required. Config object; its `type` must equal triggerType. e.g. failure_rate: {type, destinationId?, thresholdPercent (1–100), windowMinutes (5–1440)}. See the Alert Rules doc for every trigger''s shape.'
                notificationChannels:
                  type: array
                  items:
                    type: string
                  description: Required. Channel ids to notify (at least one).
                cooldownMinutes:
                  type: integer
                  description: Optional. Minimum minutes between alerts (1–1440, default 30).
              required:
              - name
              - triggerType
              - triggerConfig
              - notificationChannels
            example:
              name: Prod API failure rate
              triggerType: failure_rate
              triggerConfig:
                type: failure_rate
                destinationId: '{{destinationId}}'
                thresholdPercent: 25
                windowMinutes: 15
              notificationChannels:
              - '{{notificationChannelId}}'
              cooldownMinutes: 30
    get:
      tags:
      - Alert Rules
      summary: List alert rules
      operationId: alert_rules_list_alert_rules
      responses:
        '200':
          description: Successful response
      description: List alert rules for the org.
  /api/alert-rules/{alertRuleId}:
    get:
      tags:
      - Alert Rules
      summary: Get alert rule
      operationId: alert_rules_get_alert_rule
      parameters:
      - name: alertRuleId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
      description: Fetch a single alert rule.
    patch:
      tags:
      - Alert Rules
      summary: Update alert rule
      operationId: alert_rules_update_alert_rule
      parameters:
      - name: alertRuleId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
      description: Update an alert rule. All fields optional.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Optional. Rule name.
                triggerConfig:
                  type: object
                  description: 'Optional. Config object; its `type` must equal triggerType. e.g. failure_rate: {type, destinationId?, thresholdPercent (1–100), windowMinutes (5–1440)}. See the Alert Rules doc for every trigger''s shape.'
                notificationChannels:
                  type: array
                  items:
                    type: string
                  description: Optional. Channel ids (at least one).
                cooldownMinutes:
                  type: integer
                  description: Optional. Minutes between alerts (1–1440).
                isActive:
                  type: boolean
                  description: Optional. Enable/disable the rule.
            example:
              name: Prod API failure rate
              triggerConfig:
                type: failure_rate
                thresholdPercent: 25
                windowMinutes: 15
              notificationChannels:
              - '{{notificationChannelId}}'
              cooldownMinutes: 30
              isActive: true
    delete:
      tags:
      - Alert Rules
      summary: Delete alert rule
      operationId: alert_rules_delete_alert_rule
      parameters:
      - name: alertRuleId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
      description: Delete an alert rule by id.
  /api/alert-rules/{alertRuleId}/test:
    post:
      tags:
      - Alert Rules
      summary: Test alert rule
      operationId: alert_rules_test_alert_rule
      parameters:
      - name: alertRuleId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response
      description: Send a test notification to the rule's channels.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Hookbase API key with the whr_ prefix.