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

# Abort Workflow Campaign API

> Abort a campaign. Terminal: every execution stops before its next external action and the campaign cannot be resumed.



## OpenAPI

````yaml POST /workflow-campaigns/{campaign_id}:abort
openapi: 3.1.0
info:
  title: Bolna API
  description: >-
    Use and leverage Bolna Voice AI using APIs through HTTP requests from any
    language in your applications and workflows.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.bolna.ai
    description: Production server
security:
  - bearerAuth: []
paths:
  /workflow-campaigns/{campaign_id}:abort:
    post:
      description: >-
        Aborts a campaign. Terminal — every execution stops before its next
        external action and cannot be resumed.
      parameters:
        - in: path
          name: campaign_id
          required: true
          schema:
            type: string
            format: uuid
          description: The unique `id` of the campaign
      requestBody:
        description: Empty JSON object.
        content:
          application/json:
            schema:
              type: object
        required: true
      responses:
        '200':
          description: Campaign aborted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowCampaignStatusResponse'
        '404':
          description: Campaign not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowError'
        '409':
          description: '`invalid_state` — the campaign is already terminal'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowError'
components:
  schemas:
    WorkflowCampaignStatusResponse:
      type: object
      required:
        - status
      properties:
        status:
          type: string
          enum:
            - draft
            - scheduled
            - running
            - paused
            - completed
            - aborted
          description: The campaign status after the action.
    WorkflowError:
      type: object
      description: >-
        Error envelope returned by every workflow endpoint. `detail.code` is a
        stable machine-readable code; extra keys (such as `current_revision` on
        `revision_conflict`, `execution_id` on `duplicate_run`, or `issues` on
        `invalid_definition`) ride alongside it.
      required:
        - detail
      properties:
        detail:
          type: object
          additionalProperties: true
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Machine-readable error code.
              example: revision_conflict
            message:
              type: string
              description: Human-readable explanation.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````