Legacy Dev Forum Posts

 View Only

Sign Up

Get Contact ID from import CSV when getting data via API

  • 1.  Get Contact ID from import CSV when getting data via API

    Posted 06-05-2025 18:21

    WimVanHouts | 2022-02-22 17:55:22 UTC | #1

    Hi,

    when one uses the import CSV functionality to import a number of external contacts, the CSV file must have a "contact id" property, which is a unique ID from our CRM system. This is also the first column in the sample CSV file provided on that page. The import works succesfully, however, when I retrieve the external contact later on (using a search query of the external contacts API for example), this contact ID is not part of the JSON of the external contact item and I cannot seem to find it anywhere. Where can I get this ID that was imported? I would expect this is stored and returned, how can we link this to the original record where it came from?


    anon39326996 | 2022-02-22 18:28:39 UTC | #2

    This is currently not possible. When you import contacts via CSV it's important to keep the original copy with the IDs you used. In the future, we plan to improve the experience.

    You can register your interest and detail any use cases on the idea here: https://genesyscloud.ideas.aha.io/ideas/DIG-I-100

    Thanks, Lucie


    WimVanHouts | 2022-02-23 07:03:36 UTC | #3

    For my understanding. If I import the CSV with contact id, that contact id is actually stored and used so that if I import that contact again later, it is actually update (and not added twice). Correct? So the contact id I provide is actually stored and used by Genesys, but, there is no way to see or get it via the Platform API? So I can not

    • update a record via the API and a contact ID that I had before in a CSV file, because I cannot link them
    • export or retrieve the fetch contacts via the API and get that same ID that genesys uses internally

    Are those assumptions correct? If yes, is a solution possible where extra fields/properites are added to external contacts to store this information?

    Thx already for your quick reply and the additional questions are just to get clarity on the topic because we have an end customer that relies on this and wants to make use of this (which doesn't seem to be possible now). Any alternative solutions that you might know of?


    system | 2022-03-26 07:03:55 UTC | #4

    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: 13671