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

# Update campaign status

> Start or stop a campaign in the lacy system

This endpoint allows you to start or stop a campaign in the lacy system.

### Request body

**campaign\_id** `integer` *required*

The ID of the campaign to update

**action** `string` *required*

The action to perform on the campaign. Must be either "start" or "stop"

### Response

**message** `string` (default: Campaign started successfully.)

The message of the response

**success** `boolean` (default: true)

Whether the operation was successful

**data** `object`

The data of the response

**data properties**

**campaign\_id** `integer`

The ID of the updated campaign

**status** `string` (default: in-progress)

The new status of the campaign (e.g., "in-progress" for started campaigns, "stopped" for stopped campaigns)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.