...
Disable SSL verification upon sending the request.
Insert leads lead IDs into the vicidial_list_archive table. Ignores leads Ignore lead IDs that exist in the vicidial_list_archive table.
Update leads lead ID in the vicidial_list_archive table with lead ID data from the vicidial_list table.
Delete leads lead IDs from the vicidial_list table. Performs safe delete by checking if the lead ID exists in the vicidial_list_archive table and if the column data matches the vicidial_list table lead ID.
Code Block | ||
---|---|---|
| ||
curl -k -X POST https://server/vicidial/lead/archive/ \ -H "Authorization: Key=YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "insert_leads": true, "update_leads": true, "delete_leads": true, "lead_ids": [ 0, 1 ] }' |
...