Trigger - v2.routing.queues.{id}.conversations.messages"

Hi Team,

Im getting error - "Request failed with Status code 400", when i try to subscribe the below alert so we can use for our trigger. can someone help what im i missing?

{
"description": "Subscribing to this topic will result in receiving notifications for active message conversations in the given queue.",
"id": "v2.routing.queues.{id}.conversations.messages"
},

Hello,

You need to replace {id} with a valid queueId (id of a queue).
Notifications topics do not allow to subscribe for all queues at once.

Regards,

Hi @Jerome.Saint-Marc Thanks for the response, I'm using Queue ID on the previous page.
Here is what im doing,
From Resource center accessing - https://developer.genesys.cloud/devapps/about/notifications
Then - https://developer.genesys.cloud/notificationsalerts/notifications/available-topics
And providing Queue ID for v2.routing.queues.{id}.conversations.messages

And getting the error on notification page

Hello,

If you have subscribed to the topic(queueId) already - in your second screenshot with Success notifications, you don't need to subscribe to it again (in your first screenshot - when you get the error).

This tool/screen (first screenshot) allows subscribing to additional topics (as mentioned here).
If you have already subscribed to the v2.routing.queues.2a99.....conversations.messages topic, you don't need to do it again.
And if you want to subscribe to a new topic, you would need to change the {id} into a queueId (in the second text field) before clicking on Subscribe button.

Once you are on this page (first screenshot), you only need to generate a new Message conversation (Web Messaging, Open Messaging, WhatsApp, ...) that will be sent to the Queue you are monitoring and you will receive an event when the conversation reaches the queue and further.

Regards,

Hi Jerome,
But Im not seeing the topic on my topic section drop down. Am missing anything here?

Hello,

I don't know. I can't guess what you are doing.

The notification channel that you are showing in your first screenshot and in your second screenshot are not the same.
"streaming-6-3jocl...." for the websocket notification channel in the first screenshot.
"streaming-6-gqnnk...." for the websocket notification channel in the second screenshot.

I'd suggest that you logout from the API Explorer/Notification tool and from your Genesys Cloud UI (both), and login again.

Regards,

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