I need to send an individual message to a user using graph api (beta)

Occasional Visitor

My requirement is using any api (beta) I need to send a message to a user of MS Teams. I have the id of the user. I only see api's where it can be sent to a channel and not individually.


Something like


Something like -> POST /user/{id}/messages

2 Replies
Best Response confirmed by Naveen_Reddy (Occasional Visitor)

Via graph this does not exist atm. I guess one could use the native undocumented teams api in combination with an azure app.

As an alternative you could create a private message or even group message by using deep links....not sure of this is an option for you.

Example:<user1>,<user2>,...&topicName=<chat name>&message=<precanned text>