Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Update conversation skills

    Posted 6 days ago
    Edited by Mihai Vasiloiu 6 days ago

    Hello,

     In the in-queue flow there is an action called "Set Skills". Is there any way to replicate the behavior of this action with an API?

     I would like to trigger an API that would change the activeSkillIds for a specific conversation

    Regards,

    Mihai


    #PlatformAPI

    ------------------------------
    Mihai Vasiloiu
    Tech Lead Customer Interactions
    ------------------------------



  • 2.  RE: Update conversation skills

    Posted 2 days ago

    Hello,

    You can update priority and skills, of a conversation, while it is in queue using: PATCH /api/v2/routing/conversations/{conversationId}

    If you use an empty body (i.e. {}), it will return the current values for priority, skills (skillIds), ...

    And you can update priority and/or skills using this same endpoint. You don't need to resend all values in your update request.

    I mean that if you only specify a skillId array in your request body, it will only update the skills (it will replace existing ones, if some are already set, with the ones you provide in your PATCH request).

    i.e.

    {
      "skillIds": [
        "ID_OF_SKILL_1",
        "ID_OF_SKILL_2"
      ]
    }

    Regards,



    ------------------------------
    Jerome Saint-Marc
    Senior Development Support Engineer
    ------------------------------