Get chat between user and teamsApp

Namespace: microsoft.graph

Retrieve the chat of the specified user and Teams app.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) TeamsAppInstallation.ReadForUser, TeamsAppInstallation.ReadWriteSelfForUser, TeamsAppInstallation.ReadWriteForUser
Delegated (personal Microsoft account) Not supported.
Application TeamsAppInstallation.ReadForUser.All, TeamsAppInstallation.ReadWriteSelfForUser.All, TeamsAppInstallation.ReadWriteForUser.All

HTTP request

GET /users/{user-id | user-principal-name}/teamwork/installedApps/{app-installation-id}/chat

Optional query parameters

This method supports the $select OData query parameter to help customize the response.

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.


If successful, this method returns a 200 OK response code and an instance of chat object in the response body.



The following is an example of a request that lists one-on-one chats between the specified user and the Teams app.



The following is an example of the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-type: application/json