> ## Documentation Index
> Fetch the complete documentation index at: https://simplified-webhooks.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable monitoring

> Start logging changes for a base. A new Monitoring Base will be created in the Airtable account and changes will be written into it.



## OpenAPI

````yaml /openapi.json post /monitoring-config
openapi: 3.0.4
info:
  title: Simplified Webhooks Backend
  version: '1.0'
  description: >-
    API for Airtable webhooks, usage (record & storage counts), and
    change-monitoring audit logs.
  contact:
    name: API Support
    url: https://www.simplified-webhooks.com/contact-us
    email: contact@simplified-webhooks.com
  x-generated: backend/scripts/generate-openapi.ts — do not edit by hand
servers:
  - url: https://api.simplified-webhooks.com
    description: Main server
security: []
tags:
  - name: Webhooks
    description: Receive Airtable change notifications at your own HTTPS URL.
  - name: Usage
    description: Daily record counts and attachment storage for your Airtable bases.
  - name: Audit Log
    description: >-
      Log record and schema changes into a Changes table in your own Airtable
      Monitoring Base.
  - name: Airtable Helpers
    description: Look up base, table, and field ids from your connected Airtable account.
paths:
  /monitoring-config:
    post:
      tags:
        - Audit Log
      summary: Enable monitoring
      description: >-
        Start logging changes for a base. A new Monitoring Base will be created
        in the Airtable account and changes will be written into it.
      operationId: createMonitoringConfig
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                baseId:
                  type: string
                  minLength: 1
                workspaceId:
                  type: string
                  minLength: 1
                  description: >-
                    Airtable workspace where the Monitoring Base is created.
                    Find the ID in your Airtable workspace URL while logged in
                    (it starts with `wsp`).
                  example: wspXXXXXXXXXXXXXX
                scope:
                  type: string
                  enum:
                    - all
                    - schema_only
                    - records_only
                  default: all
                timezone:
                  type: string
                  default: utc
              required:
                - baseId
                - workspaceId
              additionalProperties: false
      responses:
        '201':
          description: Monitoring enabled.
          content:
            application/json:
              schema:
                type: object
                properties:
                  config:
                    type: object
                    properties:
                      id:
                        type: string
                      baseId:
                        type: string
                      baseName:
                        type: string
                      workspaceId:
                        type: string
                      monitoringBaseId:
                        type: string
                      monitoringBaseName:
                        type: string
                      monitoringTableId:
                        type: string
                      monitoringTableName:
                        type: string
                      scope:
                        type: string
                        enum:
                          - all
                          - schema_only
                          - records_only
                      timezone:
                        type: string
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                    required:
                      - id
                      - baseId
                      - baseName
                      - workspaceId
                      - monitoringBaseId
                      - monitoringBaseName
                      - monitoringTableId
                      - monitoringTableName
                      - scope
                      - timezone
                      - createdAt
                      - updatedAt
                    additionalProperties: false
                required:
                  - config
                additionalProperties: false
        '400':
          description: >-
            Invalid input, inaccessible base, or missing Airtable write
            permission (`oauth_reconnect_required`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  code:
                    type: string
                    enum:
                      - oauth_reconnect_required
                  missingScopes:
                    type: array
                    items:
                      type: string
                required:
                  - message
                  - code
                additionalProperties: false
        '401':
          description: Unauthorized, authentication token is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: This base is already monitored.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: >-
            Could not create the Monitoring Base or change subscription. Nothing
            was saved — retry later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKey: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
        code:
          type: string
      required:
        - message
      additionalProperties: false
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: sk_...
      description: >-
        Your Simplified Webhooks API key, sent as a bearer token:
        `Authorization: Bearer sk_...`. Create API keys in your [profile
        settings](https://www.simplified-webhooks.com/profile-settings).

````