POST
/
api
/
v1
/
venom
/
add-campaign-batch
curl --request POST \
  --url http:///%7B{base_url}%7D/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 · object

Response

200 - application/json

OK

The response is of type object.