cURL
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 } }
Same as above. Please not the diffence in the fields
"start_date": "2023-12-22", "end_date": "2023-12-22", "schedule_time": "12:18:00"
The body is of type object.
object
OK
The response is of type object.