Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  get contact list details

    Posted 08-01-2024 13:52

    i want to use this api to display the details of a contact in a contact list already created 
    I've used this api in a data action but I don't get the desired output (no fields displayed)
    how can I format the output so that I can use this data action on a script to display the contact data?

    api : /api/v2/outbound/contactlists/${input.ContactListId}/contacts/${input.ContactId}?showbrief=true

    should I set the output format to array, since the data is nested in the object? 

    i want to use this api to display the details of a contact in a contact list already created 
    I've used this api in a data action but I don't get the desired output (no fields displayed)
    how can I format the output so that I can use this data action on a script to display the contact data?

    should I set the output format to array, since the data is nested in the object? 

    while the result of execution is different 


    #API/Integrations
    #Outbound

    ------------------------------
    Rihab
    ------------------------------


  • 2.  RE: get contact list details
    Best Answer

    Posted 08-02-2024 00:42

    Hi Rihab,

    In your output, define "data" as OBJECT. Here is the sample of the Data Action using this API with 4 fields extracted from the contact list:



    ------------------------------
    Tatjana Knezevic

    www.startelecom.cloud

    https://www.linkedin.com/company/star-telecom-www-startelecom-ca-/
    ------------------------------



  • 3.  RE: get contact list details

    Posted 08-11-2024 23:45
    Edited by Eajay Mogol 08-11-2024 23:45

    Hi Tatjana,

    Is it possible to use Dialed mobile number as input in outbound flow (agentless) to have the details of that dialed number in the contact list?

    Details will then be played on that flow.

    Thanks



    ------------------------------
    Eajay Mogol
    ------------------------------



  • 4.  RE: get contact list details

    Posted 08-12-2024 02:11

    Hello, already figured it out. Thank you.



    ------------------------------
    Eajay Mogol
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources