How to send notification in teams through private chat ?

Nive
Tera Contributor

Hi ,

context- need to send notification in teams through private chat to the assignee of the incident when SLA is about to breach.

 

i have done my research but unfortunately i couldn't able to find a proper document/way to send notification to private chat in teams.

I would really appreciate if any one can help.

 

Thanks

Nivetha D

2 REPLIES 2

Shiva Gupta
ServiceNow Employee
ServiceNow Employee

I hope this might help.

Use Microsoft graph REST API

Step 1--> Create chat [https://learn.microsoft.com/en-us/graph/api/chat-post?view=graph-rest-1.0&tabs=http]

                 Use above API to Create oneOnOne chat.

Step 2 --> Send message in a chat [https://learn.microsoft.com/en-us/graph/api/chat-post-messages?view=graph-rest-1.0&tabs=http]

                 use above API to send message created in step 1 chat via chat-id.

Nive
Tera Contributor

Hi Shiva,

 

Thankyou

i believe it require application created in AD, Can you please help me with any of the documentation for that?