Skip to main content
Starts or stops a campaign. Use this to control when a campaign is actively dialing leads.

Endpoint

POST /user/campaigns/update-status

Request

campaign_id
integer
required
ID of the campaign to update.
action
string
required
Action to perform: start or stop.

Response

message
string
Confirmation message (e.g., Campaign started successfully.).
success
boolean
Whether the operation succeeded.
data
object

Example

curl -X POST "https://portal.intellixent.ai/api/user/campaigns/update-status" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"campaign_id": 1, "action": "start"}'
200 Started
{
  "message": "Campaign started successfully.",
  "success": true,
  "data": {
    "campaign_id": 1,
    "status": "in-progress"
  }
}
200 Stopped
{
  "message": "Campaign stopped successfully.",
  "success": true,
  "data": {
    "campaign_id": 1,
    "status": "stopped"
  }
}
A campaign must have leads assigned before it can be started. Add leads using the Create lead endpoint.