Skip to main content
POST
Update campaign status

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
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

200 - application/json

Campaign status updated successfully

message
string
default:Campaign started successfully.
success
boolean
default:true
data
object