PingZen Alert Channel Configs API

Configure channel-specific credentials (SMTP, Telegram bot tokens, webhook URLs).

GitHub OpenAPI

Operations 9

GET /api/v1/alert-channel-configs List alert channel configurations #
POST /api/v1/alert-channel-configs Create alert channel configuration #
GET /api/v1/alert-channel-configs/{config_id} Get alert channel configuration #
PATCH /api/v1/alert-channel-configs/{config_id} Update alert channel configuration #
DELETE /api/v1/alert-channel-configs/{config_id} Delete alert channel configuration #
POST /api/v1/alert-channel-configs/{config_id}/activate Activate alert channel configuration #
POST /api/v1/alert-channel-configs/{config_id}/deactivate Deactivate alert channel configuration #
GET /api/v1/alert-channel-configs/channels/{channel} Get configuration for specific channel #
POST /api/v1/alert-channel-configs/{config_id}/test Test alert channel configuration #

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/pingzen-dev:pingzen-dev-alert-channel-configs-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

pingzen-dev-alert-channel-configs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PingZen Alert Channel Configs API
  description: Service availability monitoring platform. Monitor your websites, APIs, and services with multi-protocol support.
  version: 1.0.0
tags:
- name: Alert Channel Configs
  description: Configure channel-specific credentials (SMTP, Telegram bot tokens, webhook URLs).
paths:
  /api/v1/alert-channel-configs:
    get:
      tags:
      - Alert Channel Configs
      summary: List alert channel configurations
      description: Get all alert channel configurations for the authenticated user.
      operationId: list_alert_channel_configs_api_v1_alert_channel_configs_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertChannelConfigListResponse'
      security:
      - HTTPBearer: []
    post:
      tags:
      - Alert Channel Configs
      summary: Create alert channel configuration
      description: Create a new alert channel configuration. Each user can have one configuration per channel type. Configurations store channel-specific credentials and settings. Plan limits are enforced - free users can configure 2 channels.
      operationId: create_alert_channel_config_api_v1_alert_channel_configs_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAlertChannelConfigRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertChannelConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/alert-channel-configs/{config_id}:
    get:
      tags:
      - Alert Channel Configs
      summary: Get alert channel configuration
      description: Get a specific alert channel configuration by ID.
      operationId: get_alert_channel_config_api_v1_alert_channel_configs__config_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: integer
          title: Config Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertChannelConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Alert Channel Configs
      summary: Update alert channel configuration
      description: Update an existing alert channel configuration. You can update the configuration settings and/or the active status.
      operationId: update_alert_channel_config_api_v1_alert_channel_configs__config_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: integer
          title: Config Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAlertChannelConfigRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertChannelConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Alert Channel Configs
      summary: Delete alert channel configuration
      description: Delete an alert channel configuration. This action cannot be undone.
      operationId: delete_alert_channel_config_api_v1_alert_channel_configs__config_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: integer
          title: Config Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alert-channel-configs/{config_id}/activate:
    post:
      tags:
      - Alert Channel Configs
      summary: Activate alert channel configuration
      description: Activate an alert channel configuration to start using it for alerts.
      operationId: activate_alert_channel_config_api_v1_alert_channel_configs__config_id__activate_post
      security:
      - HTTPBearer: []
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: integer
          title: Config Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertChannelConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alert-channel-configs/{config_id}/deactivate:
    post:
      tags:
      - Alert Channel Configs
      summary: Deactivate alert channel configuration
      description: Deactivate an alert channel configuration to stop using it for alerts.
      operationId: deactivate_alert_channel_config_api_v1_alert_channel_configs__config_id__deactivate_post
      security:
      - HTTPBearer: []
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: integer
          title: Config Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertChannelConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alert-channel-configs/channels/{channel}:
    get:
      tags:
      - Alert Channel Configs
      summary: Get configuration for specific channel
      description: Get the alert channel configuration for a specific channel type.
      operationId: get_channel_config_api_v1_alert_channel_configs_channels__channel__get
      security:
      - HTTPBearer: []
      parameters:
      - name: channel
        in: path
        required: true
        schema:
          type: string
          title: Channel
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertChannelConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/alert-channel-configs/{config_id}/test:
    post:
      tags:
      - Alert Channel Configs
      summary: Test alert channel configuration
      description: Test if the alert channel configuration is working correctly. For Telegram, this verifies the bot token is valid by calling getMe API. For webhooks, this sends a test payload to the configured URL.
      operationId: test_alert_channel_config_api_v1_alert_channel_configs__config_id__test_post
      security:
      - HTTPBearer: []
      parameters:
      - name: config_id
        in: path
        required: true
        schema:
          type: integer
          title: Config Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Test Alert Channel Config Api V1 Alert Channel Configs  Config Id  Test Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UpdateAlertChannelConfigRequest:
      properties:
        config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Config
          description: Channel-specific configuration to update
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
          description: Whether configuration is enabled
      type: object
      title: UpdateAlertChannelConfigRequest
      description: Request schema for updating an alert channel configuration.
    AlertChannelConfigListResponse:
      properties:
        configs:
          items:
            $ref: '#/components/schemas/AlertChannelConfigResponse'
          type: array
          title: Configs
          description: List of configurations
        total:
          type: integer
          title: Total
          description: Total number of configurations
      type: object
      required:
      - configs
      - total
      title: AlertChannelConfigListResponse
      description: Response schema for paginated alert channel config list.
    AlertChannelConfigResponse:
      properties:
        id:
          type: integer
          title: Id
          description: Configuration ID
        user_id:
          type: integer
          title: User Id
          description: Owner user ID
        channel:
          type: string
          title: Channel
          description: Alert channel type
        config:
          additionalProperties: true
          type: object
          title: Config
          description: Channel-specific configuration (sensitive fields may be redacted)
        is_active:
          type: boolean
          title: Is Active
          description: Whether configuration is enabled
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
          description: Creation timestamp
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
          description: Last update timestamp
      type: object
      required:
      - id
      - user_id
      - channel
      - config
      - is_active
      title: AlertChannelConfigResponse
      description: Response schema for an alert channel configuration.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CreateAlertChannelConfigRequest:
      properties:
        channel:
          type: string
          title: Channel
          description: 'Alert channel: email, telegram, slack, webhook, discord, etc.'
        config:
          additionalProperties: true
          type: object
          title: Config
          description: Channel-specific configuration (e.g., SMTP server, API keys, webhook URLs)
        is_active:
          type: boolean
          title: Is Active
          description: Whether this configuration is enabled
          default: true
      type: object
      required:
      - channel
      - config
      title: CreateAlertChannelConfigRequest
      description: Request schema for creating an alert channel configuration.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key