saravanandvs | 2022-07-20 04:54:25 UTC | #1
Hi All,
I use this api (/api/v2/outbound/contactlists/{contactListId}/clear)) for all contactID remove.
But actually I want Particular contact IDs remove without passing Contact IDs. I mean We have contact list in 1000 contacts but i want only 1 to 100 contactIds remove in list. but no need to pass contact ID.
Eos_Rios | 2022-07-20 12:18:01 UTC | #2
There is no way to remove specific items without their IDs that I am aware of.
You could fetch that first 100, iterate through them and delete them based on the Ids in them.
saravanandvs | 2022-07-21 05:52:15 UTC | #3
Hi Eos_Rios Thanks for your reply.
How to Get 1 to 100 contactID in list via Gensys API?
If incase I use this api ( /api/v2/outbound/contactlists/{contactListId}/export) i am get uri and pass the uri download the excel and get the contact ID 1 to 100 then i pass ID to this api DELETE ( /api/v2/outbound/contactlists/{contactListId}/contacts) remove the ID in the list.
In above method how to use Architect Inbound or outbound call flow any possible.
John.MacAslan | 2022-07-21 15:44:50 UTC | #4
Hi saravanandvs,
The export is the only way to retrieve the contact ids. Would it help in your case to have indexed contact ids? E.g., when you import/add contacts, provide sequential ids such as contact1, contact2, contact3, etc. That would enable you to reference contacts in segments without having to export them first to get the ids.
saravanandvs | 2022-07-22 05:28:52 UTC | #5
Hi john.macaslan Thanks for your reply.
Unfortunately my contact list is not properly sequenced.
To remove the contact from the list, I will use this api ( /api/v2/outbound/contactlists/{contactListId}/export) for getting uri and pass it to download the excel and get the contact ID 1 to 100 then i pass IDs to this api DELETE ( /api/v2/outbound/contactlists/{contactListId}/contacts) remove the ID in the list.
Kindly advise the process steps to be followed to apply same logic for Architect Inbound or outbound call flow.
John.MacAslan | 2022-07-22 12:20:48 UTC | #6
Unfortunately my contact list is not properly sequenced.
Would it possible to export your list, modify the contact ids, and reimport into a new list?
Kindly advise the process steps to be followed to apply same logic for Architect Inbound or outbound call flow.
Could you clarify what you're asking for? Are you wanting to delete batches of contacts from within a flow? Or are you wanting to delete batches of flows?
saravanandvs | 2022-07-23 10:30:33 UTC | #7
Thanks John for your reply.
Actually I want to remove the contacts from contact list.
I have one contact list more than 1000 contacts in one list. So I want remove only 1 to 500 contacts in list via gensys api
John_Carnell | 2022-08-08 13:18:05 UTC | #8
John_Carnell | 2022-08-15 13:21:46 UTC | #9
John.MacAslan | 2022-08-15 15:19:42 UTC | #10
Apologies for the closure, there was a miscommunication on our side.
I think we've answered how to remove contacts from the list (via export and removing by id), correct me if I'm wrong. But it sounded like there was something else you were trying to accomplish with regard to inbound and outbound call flows?
saravanandvs | 2022-08-24 10:16:15 UTC | #11
Thanks John. I have resolved this issue. you can close this.
This post was migrated from the old Developer Forum.
ref: 15589