Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Specify unique id through api list creation

    Posted 06-15-2022 14:40
    No replies, thread closed.
    Hi All,

    Does anyone know if it's possible to specify the Unique Identifier Column when creating a contact list through
    POST
    /api/v2/outbound/contactlists ?

    I'm not sure if I'm just being blind and not seeing how to do this or if it's not possible in the public api. 

    Thank you,
    Eric

    #Outbound

    ------------------------------
    Eric Berkshire
    Broker Solutions, Inc. DBA New American Funding
    ------------------------------


  • 2.  RE: Specify unique id through api list creation

    Posted 06-15-2022 16:27
    No replies, thread closed.
    I believe the Unique identifier Column is always the id (inin-outbound-id) column

    However you can set that value to whatever you like when you add the contacts in. Eg you could use your Customer's ID, or anything at all really for each entry

    ------------------------------
    Anton Vroon
    ------------------------------



  • 3.  RE: Specify unique id through api list creation

    Posted 06-15-2022 16:30
    No replies, thread closed.
    I can do it through the IA, but I'm trying to do it through the API and I don't see a way to set it when I created the list through the api call.

    ------------------------------
    Eric Berkshire
    Broker Solutions, Inc. DBA New American Funding
    ------------------------------



  • 4.  RE: Specify unique id through api list creation

    Posted 06-15-2022 16:41
    No replies, thread closed.
    Outbound is not my area of expertise, but I believe you don't set it on contact list creation but when you add contacts to the contact list
    /api/v2/outbound/contactlists/{contactListId}/contacts

    There you can set the id value to whatever you need.

    ------------------------------
    Anton Vroon
    ------------------------------



  • 5.  RE: Specify unique id through api list creation

    Posted 06-16-2022 09:01
    No replies, thread closed.
    Hi Anton,

    Thank you for trying to assist. I'm still not seeing a way to set a column has a unique id for the contact list through the api. I reviewed /api/v2/outbound/contactlists/{contactListId}/contacts and I don't see a way to do it there either. Can you elaborate on your solution? 


    Thanks,
    Eric


    ------------------------------
    Eric Berkshire
    Broker Solutions, Inc. DBA New American Funding
    ------------------------------



  • 6.  RE: Specify unique id through api list creation

    Posted 06-16-2022 16:24
    No replies, thread closed.
    Sorry if I am missing the point entirely,

    But Primary key is always the ID in contact lists. 

    So we create a contact list

    Then we set the id value to our primary key value, in this example 12345

    Now when I use other APIs to Get or modify that contact I would look up 12345 as the contactId, which is what makes it the the primary key.

    ------------------------------
    Anton Vroon
    ------------------------------