...
Code Block | ||
---|---|---|
| ||
curl -k -X POST https://api.tforge.co.za/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": [ 12345, 67890 ] }' |
Response
General HTTP response status codes do apply to this API.
HTTP status code - 200
If there are no issues with the request or the specified lead IDs, the data will be processed based on the options specified in the JSON object and you will receive the following success message.
...