Genesys Cloud Developer Forum

@-mention using json fomat

I am posting a message on a chat group using webhook. I wonder if I can post a message with @-mention using json format. Apparently [@] does not work. Any available formatting?


"message": "[@Yourname] sample text",
"metadata": "visitor"

Sorry for the delay, missed this one. That syntax is shorthand that the UI expands. If you edit your comment after tagging someone, you'll see that this:


gets expanded to something like:


That ID can be grabbed from the URL when looking at a person's profile or is user portion of the person's jabber ID if you retrieve their user config via api.

1 Like

@tim.smith I did not notice that I can see the actual syntax by edit. It works now. Thank you very much!

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