nick_lynch | 2021-09-24 20:51:22 UTC | #1
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?
Jerome.Saint-Marc | 2021-09-25 16:35:47 UTC | #2
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": "IDOFYOURCONSULTQUEUE" } }
That's what the Genesys Desktop triggers as well when initiating a consult to a queue.
Regards,
system | 2021-10-26 16:35:59 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 12130