Rulebase Notification Alert Rules API

The Notification Alert Rules API from Rulebase — 2 operation(s) for notification alert rules.

Operations 4

GET /notification_alert_rules Get notification alert rules #
POST /notification_alert_rules Create notification alert rules #
PATCH /notification_alert_rules/{id} Update notification alert rules by id #
DELETE /notification_alert_rules/{id} Delete notification alert rules by id #

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/rulebase:rulebase-notification-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

rulebase-notification-alert-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Notification Alert Rules API
  version: 0.0.1
tags:
- name: Notification Alert Rules
paths:
  /notification_alert_rules:
    get:
      parameters:
      - schema:
          type: integer
          minimum: 0
          exclusiveMinimum: true
        required: false
        name: page[page]
        in: query
      - schema:
          type: integer
          description: Values above 100 are clamped to 100
          minimum: 1
        required: false
        name: page[limit]
        in: query
      responses:
        '200':
          description: Notification alert rules for the current organization
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        target_type:
                          type: string
                          nullable: true
                        slack_channel_id:
                          type: number
                          nullable: true
                        recipient_email_addresses:
                          type: array
                          nullable: true
                          items:
                            type: string
                        conditions:
                          nullable: true
                        scorecard_id:
                          type: string
                          nullable: true
                        scorecard_criterion_id:
                          type: string
                          nullable: true
                        organization_data_source:
                          type: object
                          nullable: true
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                            last_synced_at:
                              type: string
                              nullable: true
                            reason_for_request_conversation_field:
                              type: string
                              nullable: true
                            import_conversations_enabled:
                              type: boolean
                            data_source:
                              type: object
                              properties:
                                id:
                                  type: string
                                name:
                                  type: string
                                type:
                                  type: string
                                  nullable: true
                                  enum:
                                  - customer_interaction
                                  - notification
                                  - issue_tracking
                                  - knowledge_base
                                  - data_warehouse
                                customer_interaction_type:
                                  type: string
                                  nullable: true
                                  enum:
                                  - ticket
                                  - sales_call
                              required:
                              - id
                              - name
                              - type
                              - customer_interaction_type
                            slack_incoming_webhook:
                              type: object
                              nullable: true
                              properties:
                                id:
                                  type: string
                                channel:
                                  type: string
                                channel_id:
                                  type: string
                                configuration_url:
                                  type: string
                              required:
                              - id
                              - channel
                              - channel_id
                              - configuration_url
                            complaints_jira_request_type:
                              type: object
                              nullable: true
                              properties:
                                id:
                                  type: string
                                external_id:
                                  type: string
                                name:
                                  type: string
                              required:
                              - id
                              - external_id
                              - name
                          required:
                          - id
                          - name
                          - last_synced_at
                          - reason_for_request_conversation_field
                          - import_conversations_enabled
                          - data_source
                          - slack_incoming_webhook
                          - complaints_jira_request_type
                        slack_channel:
                          type: object
                          nullable: true
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                            external_id:
                              type: string
                            organization_data_source_id:
                              type: string
                            created_at:
                              type: string
                            updated_at:
                              type: string
                          required:
                          - id
                          - name
                          - external_id
                          - organization_data_source_id
                          - created_at
                          - updated_at
                        created_at:
                          type: string
                        updated_at:
                          type: string
                      required:
                      - id
                      - target_type
                      - slack_channel_id
                      - recipient_email_addresses
                      - scorecard_id
                      - scorecard_criterion_id
                      - organization_data_source
                      - slack_channel
                      - created_at
                      - updated_at
                  meta:
                    type: object
                    properties:
                      page:
                        type: object
                        properties:
                          next:
                            type: number
                            nullable: true
                          limit:
                            type: number
                          total:
                            type: number
                        required:
                        - next
                        - limit
                        - total
                    required:
                    - page
                required:
                - data
                - meta
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Notification Alert Rules
      summary: Get notification alert rules
      x-summary-source: derived
      operationId: getNotificationAlertRules
      x-operation-id-source: derived
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                notification_alert_rule:
                  type: object
                  properties:
                    target_type:
                      type: string
                    organization_data_source_id:
                      type: string
                      nullable: true
                    slack_channel_id:
                      type: string
                      nullable: true
                    scorecard_id:
                      type: string
                      nullable: true
                    scorecard_criterion_id:
                      type: string
                      nullable: true
                    conditions:
                      type: array
                      items:
                        type: object
                        properties:
                          field:
                            type: string
                          operator:
                            type: string
                          value:
                            anyOf:
                            - type: array
                              items:
                                type: string
                            - type: string
                    recipient_email_addresses:
                      type: array
                      items:
                        type: string
                scorecard_id:
                  type: string
              required:
              - notification_alert_rule
      responses:
        '201':
          description: The created notification alert rule
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      target_type:
                        type: string
                        nullable: true
                      slack_channel_id:
                        type: number
                        nullable: true
                      recipient_email_addresses:
                        type: array
                        nullable: true
                        items:
                          type: string
                      conditions:
                        nullable: true
                      scorecard_id:
                        type: string
                        nullable: true
                      scorecard_criterion_id:
                        type: string
                        nullable: true
                      organization_data_source:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                          name:
                            type: string
                          last_synced_at:
                            type: string
                            nullable: true
                          reason_for_request_conversation_field:
                            type: string
                            nullable: true
                          import_conversations_enabled:
                            type: boolean
                          data_source:
                            type: object
                            properties:
                              id:
                                type: string
                              name:
                                type: string
                              type:
                                type: string
                                nullable: true
                                enum:
                                - customer_interaction
                                - notification
                                - issue_tracking
                                - knowledge_base
                                - data_warehouse
                              customer_interaction_type:
                                type: string
                                nullable: true
                                enum:
                                - ticket
                                - sales_call
                            required:
                            - id
                            - name
                            - type
                            - customer_interaction_type
                          slack_incoming_webhook:
                            type: object
                            nullable: true
                            properties:
                              id:
                                type: string
                              channel:
                                type: string
                              channel_id:
                                type: string
                              configuration_url:
                                type: string
                            required:
                            - id
                            - channel
                            - channel_id
                            - configuration_url
                          complaints_jira_request_type:
                            type: object
                            nullable: true
                            properties:
                              id:
                                type: string
                              external_id:
                                type: string
                              name:
                                type: string
                            required:
                            - id
                            - external_id
                            - name
                        required:
                        - id
                        - name
                        - last_synced_at
                        - reason_for_request_conversation_field
                        - import_conversations_enabled
                        - data_source
                        - slack_incoming_webhook
                        - complaints_jira_request_type
                      slack_channel:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                          name:
                            type: string
                          external_id:
                            type: string
                          organization_data_source_id:
                            type: string
                          created_at:
                            type: string
                          updated_at:
                            type: string
                        required:
                        - id
                        - name
                        - external_id
                        - organization_data_source_id
                        - created_at
                        - updated_at
                      created_at:
                        type: string
                      updated_at:
                        type: string
                    required:
                    - id
                    - target_type
                    - slack_channel_id
                    - recipient_email_addresses
                    - scorecard_id
                    - scorecard_criterion_id
                    - organization_data_source
                    - slack_channel
                    - created_at
                    - updated_at
                required:
                - data
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '422':
          description: Validation failure
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                required:
                - error
                - errors
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Notification Alert Rules
      summary: Create notification alert rules
      x-summary-source: derived
      operationId: postNotificationAlertRules
      x-operation-id-source: derived
  /notification_alert_rules/{id}:
    patch:
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                notification_alert_rule:
                  type: object
                  properties:
                    target_type:
                      type: string
                    organization_data_source_id:
                      type: string
                      nullable: true
                    slack_channel_id:
                      type: string
                      nullable: true
                    scorecard_id:
                      type: string
                      nullable: true
                    scorecard_criterion_id:
                      type: string
                      nullable: true
                    conditions:
                      type: array
                      items:
                        type: object
                        properties:
                          field:
                            type: string
                          operator:
                            type: string
                          value:
                            anyOf:
                            - type: array
                              items:
                                type: string
                            - type: string
                    recipient_email_addresses:
                      type: array
                      items:
                        type: string
                scorecard_id:
                  type: string
              required:
              - notification_alert_rule
      responses:
        '200':
          description: The updated notification alert rule
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      target_type:
                        type: string
                        nullable: true
                      slack_channel_id:
                        type: number
                        nullable: true
                      recipient_email_addresses:
                        type: array
                        nullable: true
                        items:
                          type: string
                      conditions:
                        nullable: true
                      scorecard_id:
                        type: string
                        nullable: true
                      scorecard_criterion_id:
                        type: string
                        nullable: true
                      organization_data_source:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                          name:
                            type: string
                          last_synced_at:
                            type: string
                            nullable: true
                          reason_for_request_conversation_field:
                            type: string
                            nullable: true
                          import_conversations_enabled:
                            type: boolean
                          data_source:
                            type: object
                            properties:
                              id:
                                type: string
                              name:
                                type: string
                              type:
                                type: string
                                nullable: true
                                enum:
                                - customer_interaction
                                - notification
                                - issue_tracking
                                - knowledge_base
                                - data_warehouse
                              customer_interaction_type:
                                type: string
                                nullable: true
                                enum:
                                - ticket
                                - sales_call
                            required:
                            - id
                            - name
                            - type
                            - customer_interaction_type
                          slack_incoming_webhook:
                            type: object
                            nullable: true
                            properties:
                              id:
                                type: string
                              channel:
                                type: string
                              channel_id:
                                type: string
                              configuration_url:
                                type: string
                            required:
                            - id
                            - channel
                            - channel_id
                            - configuration_url
                          complaints_jira_request_type:
                            type: object
                            nullable: true
                            properties:
                              id:
                                type: string
                              external_id:
                                type: string
                              name:
                                type: string
                            required:
                            - id
                            - external_id
                            - name
                        required:
                        - id
                        - name
                        - last_synced_at
                        - reason_for_request_conversation_field
                        - import_conversations_enabled
                        - data_source
                        - slack_incoming_webhook
                        - complaints_jira_request_type
                      slack_channel:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                          name:
                            type: string
                          external_id:
                            type: string
                          organization_data_source_id:
                            type: string
                          created_at:
                            type: string
                          updated_at:
                            type: string
                        required:
                        - id
                        - name
                        - external_id
                        - organization_data_source_id
                        - created_at
                        - updated_at
                      created_at:
                        type: string
                      updated_at:
                        type: string
                    required:
                    - id
                    - target_type
                    - slack_channel_id
                    - recipient_email_addresses
                    - scorecard_id
                    - scorecard_criterion_id
                    - organization_data_source
                    - slack_channel
                    - created_at
                    - updated_at
                required:
                - data
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: Notification alert rule not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '422':
          description: Validation failure
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                required:
                - error
                - errors
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Notification Alert Rules
      summary: Update notification alert rules by id
      x-summary-source: derived
      operationId: patchNotificationAlertRulesById
      x-operation-id-source: derived
    delete:
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '204':
          description: Notification alert rule deleted
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: Notification alert rule not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '422':
          description: Validation failure
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                required:
                - error
                - errors
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Notification Alert Rules
      summary: Delete notification alert rules by id
      x-summary-source: derived
      operationId: deleteNotificationAlertRulesById
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key