Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Outbound and API Data Action to update record

    Posted 12-24-2025 03:49

    Hi!! I am trying to update a record with a call rule calling a Data Action to Update Contact with PUT

    /api/v2/outbound/contactlists/${input.contactListId}/contacts/${input.contactId}

    I can include the contactListId as custom column in the contact list but I am not sure how to get the contactId to be sent as variable. Please, any idea or best practice to achieve this?

    Thanks!


    #Outbound

    ------------------------------
    Jaime Dominguez
    Support
    ------------------------------


  • 2.  RE: Outbound and API Data Action to update record

    Posted 12-24-2025 08:52

    Hello Jaime,

    I have moved your question to the Genesys Cloud - Developer Community. Hopefully one of the experts there will be able to assist you with this.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: Outbound and API Data Action to update record

    Posted 01-02-2026 10:33

    What exactly do you need to send to the endpoint, and what have you tried so far?



    ------------------------------
    --Jason
    ------------------------------



  • 4.  RE: Outbound and API Data Action to update record

    Posted 01-05-2026 02:17

    Hi, I am trying to set a number callable again with a data action. 

    This configuration is working from data action test since I know the values, but I don't know how to get the contactId during campaign running.

    /api/v2/outbound/contactlists/${input.contactListId}/contacts/${input.contactId}

    {
      "contactListId": "${input.contactListId}",
      "phoneNumberStatus": {
        "Home Phone": {
          "callable": true
        }
      }
    }

    Thanks!



    ------------------------------
    Jaime Dominguez
    Support
    ------------------------------



  • 5.  RE: Outbound and API Data Action to update record

    Posted 01-05-2026 02:35

    Hi,

    Can u explain your entire flow?

    Please clarify the following so may be I can help you:

    1. Are you running the campaign and looking for updating the same contact list from that specific campaign?
    2. Are u triggering this data action from any architect flow?
    3. Can you please share your entire flow, so I can understand it better and help you better.

    Best regards,



    ------------------------------
    Arjun Das T P
    Engineer
    Feebak by Fantacode
    ------------------------------



  • 6.  RE: Outbound and API Data Action to update record

    Posted 01-05-2026 06:12

    Hi,

    Yes, it is the same contact list. Anyway I am sending the contactlistId as parameter too, so it should work for any contact list. The contact list has 2 phone numbers, mobile and home. I want to start calling only to mobile first so home phone is set initially as uncallable. When the mobile phone reach X attempts with a rule, I want to set the mobile as uncallable and change the home phone callable, calling the data action, to only call this number for another X attempts. I am doing everything with call rules since this applies basically when nobody answer the dialer calls. I hope it is more clear now :)

    Maybe there is another way to achieve this behavior but this is what it came to my mind...

    Thanks!



    ------------------------------
    Jaime Dominguez
    Support
    ------------------------------



  • 7.  RE: Outbound and API Data Action to update record
    Best Answer

    Posted 01-06-2026 11:07

    Hi,
    contact lists have a field "inin-outbound-id" (visible in exports). 
    This will show up as Contact ID in the configuration for the inputs of the data action:
    Kind regards,
    Christian



    ------------------------------
    Christian Karpp
    Principal PS Consultant
    ------------------------------



  • 8.  RE: Outbound and API Data Action to update record

    Posted 01-07-2026 02:46

    Thanks Christian, I had checked this but for some reason I didn't see that option...



    ------------------------------
    Jaime Dominguez
    Support
    ------------------------------