> ## Documentation Index
> Fetch the complete documentation index at: https://new-fb342056.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Campaign Status

> Start or stop a campaign in the Robocallz system



## OpenAPI

````yaml POST /user/campaigns/update-status
openapi: 3.1.0
info:
  title: Robocallz API
  description: API documentation for Robocallz platform
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.robocallz.ai
security:
  - bearerAuth: []
paths:
  /user/campaigns/update-status:
    post:
      summary: Update campaign status
      description: Start or stop a campaign in the Autocalls system
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - campaign_id
                - action
              properties:
                campaign_id:
                  type: integer
                  description: The ID of the campaign to update
                action:
                  type: string
                  description: >-
                    The action to perform on the campaign. Must be either
                    "start" or "stop"
            example:
              campaign_id: 123
              action: start
      responses:
        '200':
          description: Campaign status updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    default: Campaign started successfully.
                  success:
                    type: boolean
                    default: true
                  data:
                    type: object
                    properties:
                      campaign_id:
                        type: integer
                        description: The ID of the updated campaign
                      status:
                        type: string
                        default: in-progress
                        description: >-
                          The new status of the campaign (e.g., "in-progress"
                          for started campaigns, "stopped" for stopped
                          campaigns)
              example:
                message: Campaign started successfully
                success: true
                data:
                  campaign_id: 123
                  status: in-progress
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````