Skip to main content
POST
https://app.famulor.de/api/
/
user
/
campaigns
/
update-status
Update campaign status
curl --request POST \
  --url https://app.famulor.de/api/user/campaigns/update-status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "campaign_id": 123,
  "action": "<string>"
}
'
{
  "message": "Campaign started successfully.",
  "success": true,
  "data": {
    "campaign_id": 2324,
    "status": "in-progress"
  }
}
This endpoint allows you to start or stop a campaign in the Famulor 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 Fields

message
string
default:"Campaign started successfully."
The response message
success
boolean
default:"true"
Whether the operation was successful
data
object
The response data

Notes

  • The campaign must belong to the authenticated user
  • Only campaigns with valid status can be started or stopped
  • When starting a campaign, sufficient leads must be available
  • Stopping a campaign will abort ongoing calls
{
  "campaign_id": 2324,
  "action": "start"
}
{
  "message": "Campaign started successfully.",
  "success": true,
  "data": {
    "campaign_id": 2324,
    "status": "in-progress"
  }
}