Genesys Cloud - Main

 View Only

Sign Up

  • 1.  Is there anyway to add work phone 3 or 4 in bulk to existing created users?

    Posted 20 days ago
    Edited by Jason Kleitz 20 days ago

    Hi Team,

    Is there anyway to add work phone 3 or 4 in bulk to existing created users?


    #ArchitectandDesign

    ------------------------------
    kranthi Muppa
    ------------------------------



  • 2.  RE: Is there anyway to add work phone 3 or 4 in bulk to existing created users?
    Best Answer

    Posted 20 days ago

    Hello Kranthi,

    You should be able to accomplish this by making individual PATCH API calls to /api/v2/users/{userId} for each user. I've included a code snippet example down below for you.

    {
      "addresses": [
        {
          "address": "+12345678901",
          "display": "+1 234-567-8901",
          "mediaType": "PHONE",
          "type": "WORK3",
          "countryCode": "US"
        }
      ],
    }

    One thing of note, when you are using a PATCH request, you will need to include ALL existing user addresses in your PATCH request to prevent data loss.



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