Question

Tagging Users Through RingCentral WebHooks Integration

  • 23 December 2019
  • 1 reply
  • 767 views

How would I tag a user through a post to RingCentral WebHooks?


Ex.

{ "activity":"Beer consumed", "title":"Jeff is having a Maple Bacon Coffee Porter", "icon":"https://static.skillshare.com/uploads/project/239dbec8bcc75f80457b1caa47a4a657/a801f44f", "body":"* Location: [The Funky Buddha Lounge](http://www.thefunkybuddha.com) with @username"}


When the above message is posted to WebHooks, I would want it to tag the user "@username" and notify them as if a normal user was to tag them in a message. The example above doesn't seem like the correct way to go about doing this.


Thanks in advance! :)


1 reply

Userlevel 1

I can't find the syntax to @mention for the Glip webhook. But you can post a message using the Glip Create Post API and use this syntax:

`/restapi/v1.0/glip/chats/[teamId]/posts`, 
 {                
    text: "![:Person](personId) Something to post"
 })

Reply