/api/v2/outbound/contactlists/{contactListId}/contacts/bulk looks like it will work for you but it needs the contact-id's. Would have been nice if you could wildcard this with a * meaning all contacts but I guess they wanted to protect themselves from really large contact lists.
one method but it requires the campaign to be run. When the dialer runs it loads the contacts and you can get good information at that point. /api/v2/conversations/${input.conversationId} will see attributes.dialerContactId
and attributes.dialerContactListId.
Another method
/api/v2/outbound/contactlists/{contactListId}/export
then go to the URL it comes back with to get a spreadsheet of contacts
uri": "https://api.mypurecloud.com.au/api/v2/downloads/XXXXXX". it will download a spreadsheet. The inin-outbound-id is your contact id's
------------------------------
Michael Oldham
Telstra Corporation Ltd
------------------------------
Original Message:
Sent: 08-02-2021 09:52
From: Mostafa Oudderhem
Subject: Using API to get external contact ID used during CSV import
Hi,
Our customer has used a CSV file to perform a bulk import of external contacts and using customized ID (for example 10XXX)
Now, we want to know if there is an API in developer tools that can return the contact id created during csv import.
Thank you.
#PlatformAdministration