dialogbrain-com Webhook Setup API

The webhook-setup API from dialogbrain-com — 4 operation(s) for webhook-setup.

Operations 5

POST /api/agents/{agent_id}/webhook/meta-leadgen-setup Meta Leadgen Setup #
GET /api/agents/{agent_id}/webhook/enrichment/{provider} Enrichment Status #
DELETE /api/agents/{agent_id}/webhook/enrichment/{provider} Enrichment Disconnect #
POST /api/agents/{agent_id}/webhook/enrichment/{provider}/test-lead Enrichment Test Lead #
GET /api/webhooks/enrichment-providers Enrichment Providers #

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/dialogbrain-com:dialogbrain-com-webhook-setup-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

dialogbrain-com-webhook-setup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DialogBrain v2 API Gateway Webhook Setup API
  description: Clean refactored API gateway with minimal vertical slice
  version: 0.1.0
tags:
- name: webhook-setup
paths:
  /api/agents/{agent_id}/webhook/meta-leadgen-setup:
    post:
      tags:
      - webhook-setup
      summary: Meta Leadgen Setup
      operationId: meta_leadgen_setup_api_agents__agent_id__webhook_meta_leadgen_setup_post
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: integer
          title: Agent Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaLeadgenSetupRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agents/{agent_id}/webhook/enrichment/{provider}:
    get:
      tags:
      - webhook-setup
      summary: Enrichment Status
      description: 'Provider-neutral connected status: {connected, items:[{id,label}]}.

        With ?health=1, also returns `health:[{check, ok, detail, fix_url?}]` — live

        Graph diagnostics, gated (not run on the cheap poll) and cached ~60s.'
      operationId: enrichment_status_api_agents__agent_id__webhook_enrichment__provider__get
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: integer
          title: Agent Id
      - name: provider
        in: path
        required: true
        schema:
          type: string
          title: Provider
      - name: trigger_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Scope to a specific webhook trigger
          title: Trigger Id
        description: Scope to a specific webhook trigger
      - name: health
        in: query
        required: false
        schema:
          type: boolean
          description: Also run live Graph health checks (expanded card only)
          default: false
          title: Health
        description: Also run live Graph health checks (expanded card only)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - webhook-setup
      summary: Enrichment Disconnect
      description: 'Provider-neutral disconnect: {disconnected: N}.'
      operationId: enrichment_disconnect_api_agents__agent_id__webhook_enrichment__provider__delete
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: integer
          title: Agent Id
      - name: provider
        in: path
        required: true
        schema:
          type: string
          title: Provider
      - name: trigger_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Scope to a specific webhook trigger
          title: Trigger Id
        description: Scope to a specific webhook trigger
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agents/{agent_id}/webhook/enrichment/{provider}/test-lead:
    post:
      tags:
      - webhook-setup
      summary: Enrichment Test Lead
      description: 'Fire a real Meta test lead and report end-to-end delivery. Replaces the

        manual Meta-testing-tool + log-tailing loop with one button.'
      operationId: enrichment_test_lead_api_agents__agent_id__webhook_enrichment__provider__test_lead_post
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: integer
          title: Agent Id
      - name: provider
        in: path
        required: true
        schema:
          type: string
          title: Provider
      - name: trigger_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Scope to a specific webhook trigger
          title: Trigger Id
        description: Scope to a specific webhook trigger
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/webhooks/enrichment-providers:
    get:
      tags:
      - webhook-setup
      summary: Enrichment Providers
      description: 'Data-driven list of connectable webhook enrichment providers (Facebook Lead

        Ads today). The frontend renders the source picker + connected card from this —

        a new provider needs no frontend change.'
      operationId: enrichment_providers_api_webhooks_enrichment_providers_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MetaLeadgenSetupRequest:
      properties:
        app_id:
          type: string
          title: App Id
        app_secret:
          type: string
          title: App Secret
        user_access_token:
          type: string
          title: User Access Token
      type: object
      required:
      - app_id
      - app_secret
      - user_access_token
      title: MetaLeadgenSetupRequest