Skip to main content
PUT
/
schedule_campaign
Schedule campaign
curl --request PUT \
  --url https://yourdomain.com/schedule_campaign \
  --header 'Content-Type: application/json' \
  --cookie admin_cookie= \
  --data '
{
  "campaign": "<string>",
  "start_time": 123
}
'
"Scheduled Campaign"

Authorizations

Admin cookie authentication (configurable in config.json)

Body

application/json
campaign
string

Campaign name

start_time
number

Unix epoch timestamp to start campaign

Response

Campaign scheduled successfully

The response is of type string.

Example:

"Scheduled Campaign"