Skip to main content
POST
/
api
/
v1
/
venom
/
add-campaign-batch
add-campaign (schedule)
curl --request POST \
  --url 'http://{{base_url}}/api/v1/venom/add-campaign-batch' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "scheduled-camp-5",
  "desc": "1",
  "html": "<p>scheduled-camp-5</p>",
  "image": null,
  "group_metadata_ids": [
    8
  ],
  "is_channel_campaign": true,
  "is_schedule": true,
  "start_date": "2023-12-22",
  "end_date": "2023-12-22",
  "schedule_time": "12:18:00"
}
'
{
  "error": false,
  "status": "success",
  "code": 200,
  "data": {
    "data": true
  }
}

Headers

Authorization
string

Body

application/json

The body is of type object.

Response

200 - application/json

OK

The response is of type object.