Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

API will be set by TForge to operate outside of office hours only.

The endpoint URL server address will be provided by TForge.

...

Method

Endpoint

Description

POST

https://server/vicidial/lead/archive/customer_name

Lead archive endpoint

Authentication

...

Code Block
languagebash
curl -k -X POST https://server/vicidial/lead/archive/customer_name \
-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
      ]
    }'

...