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

# STOP outbound campaign

> Stops an active outbound campaign.



## OpenAPI

````yaml /api-reference/openapi.json post /campaign/outbound/stop
openapi: 3.1.0
info:
  title: SuperU API
  description: >-
    Comprehensive API reference for SuperU voice agents, calls, tools, contacts,
    audiences, and knowledge bases.
  version: 1.0.0
servers:
  - url: https://voip-middlware.superu.ai
    description: Production
security:
  - superUApiKey: []
tags:
  - name: Calls
    description: Create and analyze calls.
  - name: Agents
    description: Create, list, import, update, and delete agents.
  - name: Agent Versions
    description: Manage versions for existing agents.
  - name: Phone Numbers
    description: Fetch phone numbers available in your account.
  - name: Call Logs
    description: Retrieve call history with filters.
  - name: Tools
    description: Create and manage callable tools.
  - name: Folders
    description: Organize agents into folders.
  - name: Contacts
    description: Create and list contacts.
  - name: Audiences
    description: Create and manage audiences and contacts.
  - name: Knowledge Base
    description: Upload and manage knowledge bases.
  - name: Campaigns
    description: Create and manage outbound campaigns with automated workflows.
paths:
  /campaign/outbound/stop:
    post:
      tags:
        - Campaigns
      summary: STOP outbound campaign
      description: Stops an active outbound campaign.
      operationId: stopOutboundCampaign
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StopCampaignRequest'
            example:
              campaign_id: f1e2d3c4-b5a6-7890-abcd-ef1234567890
        description: Request body for stopping an outbound campaign.
      responses:
        '200':
          description: Campaign stopped successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateCampaignWithWorkflowResponse'
              example:
                name: My Outbound Campaign
                active: true
                campaign:
                  message: Campaign stopped successfully
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request POST \\
              --url https://voip-middlware.superu.ai/campaign/outbound/stop \\
              --header 'superU-Api-Key: YOUR_SUPERU_API_KEY' \\
              --data '{
              "campaign_id" : "f1e2d3c4-b5a6-7890-abcd-ef1234567890"
            }'
components:
  schemas:
    StopCampaignRequest:
      type: object
      required:
        - campaign_id
      properties:
        campaign_id:
          type: string
          description: UUID of the campaign to stop
          example: f1e2d3c4-b5a6-7890-abcd-ef1234567890
    CreateCampaignWithWorkflowResponse:
      type: object
      properties:
        name:
          type: string
          description: Name of the campaign
        active:
          type: boolean
          description: Whether the campaign is active
        campaign:
          type: object
          properties:
            campaign_id:
              type: string
              description: UUID of the created campaign
            message:
              type: string
              example: Campaign created successfully
            status:
              type: string
              enum:
                - active
                - scheduled
              description: >-
                Campaign status — 'active' if started immediately, 'scheduled'
                if dateTime was provided
    ErrorResponse:
      type: object
      required:
        - message
      properties:
        status:
          type: string
          example: error
          description: Status value.
        message:
          type: string
          example: Invalid request payload
          description: Message value.
        error:
          type: string
          example: Bad Request
          description: Error value.
        code:
          type: string
          example: BAD_REQUEST
          description: Code value.
      additionalProperties: true
      description: Error Response schema.
  responses:
    BadRequest:
      description: Bad Request - invalid parameters or payload.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            status: error
            code: BAD_REQUEST
            message: Request validation failed.
    Unauthorized:
      description: Unauthorized - missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            status: error
            code: UNAUTHORIZED
            message: Invalid or missing superU-Api-Key.
    InternalServerError:
      description: Internal Server Error - unexpected backend error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            status: error
            code: INTERNAL_SERVER_ERROR
            message: An unexpected server error occurred.
  securitySchemes:
    superUApiKey:
      type: apiKey
      in: header
      name: superU-Api-Key
      description: Your SuperU API key.

````