Can we consult a user or a queue?

Is there a way to consult a user or a queue by ID with POST
/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult ? The documentation says we can include a userId or a queueId in the destination ( https://developer.genesys.cloud/api/rest/v2/conversations/#post-api-v2-conversations-calls--conversationId--participants--participantId--consult ), but the address is required. With no address or an empty string for address we get a 400 response. What address would we use to dial a userId or a queueId?

Hello,

Yes, you can consult a user or a queue.
Regarding address required, that seems to be an error in the contract/schema description.

You can use the following body to consult a queue:

{
   "speakTo": "DESTINATION",
   "destination": {
      "queueId": "ID_OF_YOUR_CONSULT_QUEUE"
   }
}

That's what the Genesys Desktop triggers as well when initiating a consult to a queue.

Regards,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.