dialogbrain-com Campaigns API

The campaigns API from dialogbrain-com — 3 operation(s) for campaigns.

Operations 4

GET /api/campaigns List Campaigns #
POST /api/campaigns Create Campaign #
GET /api/campaigns/{campaign_id} Get Campaign #
POST /api/campaigns/{campaign_id}/{action} Control Campaign #

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-campaigns-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-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DialogBrain v2 API Gateway Campaigns API
  description: Clean refactored API gateway with minimal vertical slice
  version: 0.1.0
tags:
- name: Campaigns
paths:
  /api/campaigns:
    get:
      tags:
      - Campaigns
      summary: List Campaigns
      operationId: list_campaigns_api_campaigns_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Campaigns Api Campaigns Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Campaigns
      summary: Create Campaign
      operationId: create_campaign_api_campaigns_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCampaignRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Create Campaign Api Campaigns Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/campaigns/{campaign_id}:
    get:
      tags:
      - Campaigns
      summary: Get Campaign
      operationId: get_campaign_api_campaigns__campaign_id__get
      parameters:
      - name: campaign_id
        in: path
        required: true
        schema:
          type: integer
          title: Campaign Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Campaign Api Campaigns  Campaign Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/campaigns/{campaign_id}/{action}:
    post:
      tags:
      - Campaigns
      summary: Control Campaign
      operationId: control_campaign_api_campaigns__campaign_id___action__post
      parameters:
      - name: campaign_id
        in: path
        required: true
        schema:
          type: integer
          title: Campaign Id
      - name: action
        in: path
        required: true
        schema:
          type: string
          title: Action
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Control Campaign Api Campaigns  Campaign Id   Action  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
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
    CreateCampaignRequest:
      properties:
        name:
          type: string
          maxLength: 200
          minLength: 1
          title: Name
        phone_numbers:
          items:
            type: string
          type: array
          title: Phone Numbers
        agent_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Agent Id
        channel:
          type: string
          pattern: ^(twilio|telnyx)$
          title: Channel
          default: telnyx
        greeting:
          anyOf:
          - type: string
          - type: 'null'
          title: Greeting
        instructions:
          anyOf:
          - type: string
          - type: 'null'
          title: Instructions
        max_concurrent:
          type: integer
          title: Max Concurrent
          default: 2
        max_attempts:
          type: integer
          title: Max Attempts
          default: 3
        retry_delay_minutes:
          type: integer
          title: Retry Delay Minutes
          default: 30
        window_start_hour:
          anyOf:
          - type: integer
          - type: 'null'
          title: Window Start Hour
        window_end_hour:
          anyOf:
          - type: integer
          - type: 'null'
          title: Window End Hour
        window_tz:
          anyOf:
          - type: string
          - type: 'null'
          title: Window Tz
      type: object
      required:
      - name
      - phone_numbers
      title: CreateCampaignRequest