Legacy Dev Forum Posts

 View Only

Sign Up

Automation of bulk import from .csv to external contacts

  • 1.  Automation of bulk import from .csv to external contacts

    Posted 06-05-2025 18:05

    Michael_Tae | 2019-08-30 13:42:48 UTC | #1

    Hello Team,

    I understand that there is a function of bulk importing from .csv file and synchronize to external contacts like the screenshot below.

    1. However, we want to programmatically automate the process of bulk importing from .csv file to external contacts on PureCloud with our program. Is there any way that our program can post .csv file to PureCloud with something like AJAX call? or is the page of the screenshot above only way to upload .csv file for bulk importing?

    I understand that I can use ExternalContactAPI but it does allow bulk import but creating external contact one by one.

    1. Is there any API call that I can use to bulk import multiple contacts to PureCloud external contacts. or any other API resource related to external contact?

    Thank you.

    Thanks and regards. Michael Tae


    tim.smith | 2019-08-30 13:42:32 UTC | #2

    POST /api/v2/outbound/contactlists/{contactListId}/contacts allows you to add contacts via API request. See Upload Contact Lists for information about uploading a CSV file.


    Michael_Tae | 2019-09-01 22:37:49 UTC | #3

    Hello Smith,

    Thank you very much for your quick response.

    I understand that /api/v2/outbound/contactlists/{contactListId}/contacts allows me to add contacts but I am trying to add "External Contacts" not the ones that are listed under "Outbound Dialing > List Management > Contact Lists. From my understanding, External Contacts are different from Contacts.

    1. Is my understanding correct?
    2. Then, can I still use the API call to add "External Contacts"?

    tim.smith | 2019-09-03 13:51:51 UTC | #4

    Sorry, major reading fail on my end. I've asked around and the upload process for external contacts isn't currently documented, but you upload the file to https://apps.inindca.com/uploads/crm-sync. I checked the network console and the form data in the POST should look similar to the body below. The process should be similar to the contact list upload process linked above.

    ------WebKitFormBoundaryXw5E6llMfjdusADP
    Content-Disposition: form-data; name="0"; filename="testfile.csv"
    Content-Type: text/csv
    
    
    ------WebKitFormBoundaryXw5E6llMfjdusADP--

    Andrew_Johnson | 2019-09-03 14:37:37 UTC | #5

    Our of curiosity, how many contacts are you looking to import? Are you planning to do this import once or will you re-run it on some schedule?


    Michael_Tae | 2019-09-05 06:04:11 UTC | #6

    Yes, I am looking to schedule the process of importing .csv to External Contact in PureCloud like once everyday or a week. I am not sure how many contacts will be there to synchronize but presume that there will be too many contacts to synchronize manually.


    system | 2019-10-06 06:04:13 UTC | #7

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 5911