Skip to main content
POST
Update campaign status
This endpoint allows you to start or stop a campaign in the Autocalls 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