Skip to main content
All CollectionsMULTI LINE DIALER™⚒️ For Developers
Removing Contacts from a Project via API
Removing Contacts from a Project via API

Remove contacts from the Project for Dialling via AI Agent or Brightcall Dialer app

Updated over a week ago

Removing contacts from a project list via API is a quick and efficient solution, eliminating the need for manual deletions or list uploads. By automating contact removal, you ensure your Brightcall AI Agent or Dialer app is always working with the most relevant and up-to-date contact lists. This reduces manual effort, minimizes errors, and helps maintain clean, optimized project lists for better campaign performance.

Follow this guide to learn how to automate the removal of contacts using the API.


How to set up ?

  1. For all requests API key should be included as an api-key query parameter. E.g.: https://api.ipmaxi.leadcm.com/api/v2/projects?api-key=%your-api-key%

  2. Get a list of all projects through this endpoint: https://api.ipmaxi.leadcm.com/api/v2/projects Please note, that the Power Dialer project has a type parameter equal to 2. Alternatively, you can get one project through this endpoint: https://api.ipmaxi.leadcm.com/api/v2/project/{project_id}

  3. Get the project ID from the id property from the project payload

  4. Get project contacts through this endpoint: https://api.ipmaxi.leadcm.com/api/v1/project-contacts/{project_id}

  5. Find id of contact(s) you want to remove Please note, that contact data itself is stored in the data field of a contact: as array of tuples with column id and its value. Column id is at 0 index and the field value is at 1 index

  6. Send a DELETE request to this endpoint: https://api.ipmaxi.leadcm.com/api/v1/project-contacts/{project_id} Body:

{ "contactIds": []//ids of contacts you want to remove }
Did this answer your question?